MotoActions: Fix always on detection

* PreferenceCategory is removed since c9999dacb17c. Insert again to fix AOD.

Change-Id: I5b16317875ec6c0bce6463bcf853d9085dfc0087
This commit is contained in:
Jeferson Oliveira 2021-01-08 20:04:03 +01:00
parent 5811c17e54
commit e8e3def827

View File

@ -17,6 +17,10 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"> xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:key="ambient_display_key"
android:title="@string/ambient_display_title">
<SwitchPreference <SwitchPreference
android:key="gesture_pick_up" android:key="gesture_pick_up"
android:defaultValue="false" android:defaultValue="false"
@ -30,4 +34,5 @@
android:title="@string/hand_wave_gesture_title" android:title="@string/hand_wave_gesture_title"
android:summary="@string/hand_wave_gesture_summary" android:summary="@string/hand_wave_gesture_summary"
android:icon="@drawable/ic_hand" /> android:icon="@drawable/ic_hand" />
</PreferenceCategory>
</PreferenceScreen> </PreferenceScreen>