sm6150-common: parts: Get rid of nested PreferenceCategory
getPreferenceScreen().findPreference() does not find preferences within another PreferenceCategory. That breaks hidin the proximity category on devices which do not support it. Change-Id: Ic7d840df7a71905b5b697954a279de51d8d0408a
This commit is contained in:
parent
4a67b5eb26
commit
0ceaa3e801
@ -51,6 +51,8 @@
|
||||
android:title="@string/wake_on_gesture_title"
|
||||
android:summary="@string/wake_on_gesture_summary" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="pickup_sensor"
|
||||
android:title="@string/pickup_sensor_title">
|
||||
@ -84,5 +86,4 @@
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
Loading…
Reference in New Issue
Block a user