am 2188cbae
: Merge "Fix an NPE"
* commit '2188cbae6351ae463f8b882b1cb6b1b348fad0a2': Fix an NPE
This commit is contained in:
commit
9bf1dfebd8
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