Fix an NPE
The code was passing the wrong parameter. Bug: 8492879 Change-Id: I091d62ca29601e3807eed287c7bdad38bf43a502main
parent
dae90cfb01
commit
28d5f4577f
|
@ -340,8 +340,7 @@ public final class DictionarySettingsFragment extends PreferenceFragment
|
|||
private void cancelRefresh() {
|
||||
UpdateHandler.unregisterUpdateEventListener(this);
|
||||
final Context context = getActivity();
|
||||
UpdateHandler.cancelUpdate(context,
|
||||
MetadataDbHelper.getMetadataUriAsString(context, mClientId));
|
||||
UpdateHandler.cancelUpdate(context, mClientId);
|
||||
stopLoadingAnimation();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue