Merge "Fix bug #15115542 Ripple effect is crashing Settings with java.lang.NullPointerException"
This commit is contained in:
committed by
Android (Google) Code Review
commit
db9773a4e5
@@ -144,7 +144,7 @@ public class SettingsPreferenceFragment extends PreferenceFragment implements Di
|
|||||||
}
|
}
|
||||||
|
|
||||||
private Drawable getHighlightDrawable() {
|
private Drawable getHighlightDrawable() {
|
||||||
return getResources().getDrawable(R.drawable.preference_highlight);
|
return getActivity().getDrawable(R.drawable.preference_highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user