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

Commit db9773a4 authored by Fabrice Di Meglio's avatar Fabrice Di Meglio Committed by Android (Google) Code Review
Browse files

Merge "Fix bug #15115542 Ripple effect is crashing Settings with java.lang.NullPointerException"

parents 53509f24 676751eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -144,7 +144,7 @@ public class SettingsPreferenceFragment extends PreferenceFragment implements Di
    }

    private Drawable getHighlightDrawable() {
        return getResources().getDrawable(R.drawable.preference_highlight);
        return getActivity().getDrawable(R.drawable.preference_highlight);
    }

    /**