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

Commit 28d5f457 authored by Jean Chalard's avatar Jean Chalard
Browse files

Fix an NPE

The code was passing the wrong parameter.

Bug: 8492879
Change-Id: I091d62ca29601e3807eed287c7bdad38bf43a502
parent dae90cfb
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();
    }