Fix an NPE
The code was passing the wrong parameter. Bug: 8492879 Change-Id: I091d62ca29601e3807eed287c7bdad38bf43a502
This commit is contained in:
parent
dae90cfb01
commit
28d5f4577f
1 changed files with 1 additions and 2 deletions
|
@ -340,8 +340,7 @@ public final class DictionarySettingsFragment extends PreferenceFragment
|
||||||
private void cancelRefresh() {
|
private void cancelRefresh() {
|
||||||
UpdateHandler.unregisterUpdateEventListener(this);
|
UpdateHandler.unregisterUpdateEventListener(this);
|
||||||
final Context context = getActivity();
|
final Context context = getActivity();
|
||||||
UpdateHandler.cancelUpdate(context,
|
UpdateHandler.cancelUpdate(context, mClientId);
|
||||||
MetadataDbHelper.getMetadataUriAsString(context, mClientId));
|
|
||||||
stopLoadingAnimation();
|
stopLoadingAnimation();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue