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

Commit d4de05ea authored by Amith Yamasani's avatar Amith Yamasani Committed by Android (Google) Code Review
Browse files

Merge "Remove the OnItemClick listener when the fragment is destroyed."

parents 6b82c266 74402cfe
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