Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2188cbae authored by Jean Chalard's avatar Jean Chalard Committed by Android (Google) Code Review
Browse files

Merge "Fix an NPE"

parents d555a0d7 28d5f457
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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();
    }