am 9bf1dfeb: am 2188cbae: Merge "Fix an NPE"
* commit '9bf1dfebd8e51fb16ac26c59de9aa646b4499765': Fix an NPEmain
commit
86b8b7b407
|
@ -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 New Issue