diff options
author | Steve Kondik <steve@cyngn.com> | 2016-10-14 21:18:03 -0700 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2017-12-04 09:01:03 +0100 |
commit | 2c64d330803b469deffde432e3fbe292ba8a7d26 (patch) | |
tree | 4118ab3194cd18aaeb8c44bfd3f2bbb7392673d4 /doze/res/xml | |
parent | f639e2333a933fdb73927a8f8dba99bec8dce0af (diff) |
msm8996-common: Bring DozeSettings up to date
* Rework the UI with a SwitchBar
* Change to the preferences support library and use fragments
* Use all the new fancy RemotePreference stuff
* Slot into display settings instead of the dashboard
Change-Id: I0850f7d9558a14f739f752f76002db993381a0e5
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Diffstat (limited to 'doze/res/xml')
-rw-r--r-- | doze/res/xml/doze_settings.xml | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/doze/res/xml/doze_settings.xml b/doze/res/xml/doze_settings.xml index dfa608b..acc19d2 100644 --- a/doze/res/xml/doze_settings.xml +++ b/doze/res/xml/doze_settings.xml @@ -14,13 +14,8 @@ See the License for the specific language governing permissions and limitations under the License. --> -<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> - - <SwitchPreference - android:key="ambient_display" - android:defaultValue="true" - android:title="@string/ambient_display_title" - android:summary="@string/ambient_display_summary" /> +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:cm="http://schemas.android.com/apk/res/cyanogenmod.platform"> <PreferenceCategory android:key="tilt_sensor" @@ -30,8 +25,7 @@ android:key="pick_up" android:defaultValue="false" android:title="@string/pick_up_title" - android:summary="@string/pick_up_summary" - android:dependency="ambient_display" /> + android:summary="@string/pick_up_summary" /> </PreferenceCategory> @@ -43,15 +37,13 @@ android:key="gesture_hand_wave" android:defaultValue="false" android:title="@string/hand_wave_gesture_title" - android:summary="@string/hand_wave_gesture_summary" - android:dependency="ambient_display" /> + android:summary="@string/hand_wave_gesture_summary" /> <SwitchPreference android:key="gesture_pocket" android:defaultValue="false" android:title="@string/pocket_gesture_title" - android:summary="@string/pocket_gesture_summary" - android:dependency="ambient_display" /> + android:summary="@string/pocket_gesture_summary" /> </PreferenceCategory> |