am 9bf1dfeb: am 2188cbae: Merge "Fix an NPE"

* commit '9bf1dfebd8e51fb16ac26c59de9aa646b4499765':
  Fix an NPE
main
Jean Chalard 2013-04-03 19:27:12 -07:00 committed by Android Git Automerger
commit 86b8b7b407
1 changed files with 1 additions and 2 deletions

View File

@ -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();
}