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

Commit 27fb6c21 authored by Felipe Leme's avatar Felipe Leme Committed by Android (Google) Code Review
Browse files

Merge "Set key when Explore preference is created, otherwise tapping it will...

Merge "Set key when Explore preference is created, otherwise tapping it will cause a NPE. BUG: 25597961"
parents 7d6aa790 dc4dbbdb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -297,6 +297,7 @@ public class PrivateVolumeSettings extends SettingsPreferenceFragment {
    private Preference buildAction(int titleRes) {
        final Preference pref = new Preference(getPrefContext());
        pref.setTitle(titleRes);
        pref.setKey(Integer.toString(titleRes));
        return pref;
    }