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

Commit 74402cfe authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Remove the OnItemClick listener when the fragment is destroyed.

Bug: 3228510

This probably fixes a lot of other monkey bugs in Settings.
parent 9f02357a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -194,6 +194,7 @@ public abstract class PreferenceFragment extends Fragment implements
    public void onDestroy() {
        super.onDestroy();
        mPreferenceManager.dispatchActivityDestroy();
        mPreferenceManager.setOnPreferenceTreeClickListener(null);
    }

    @Override