From: jro1979oliver <jroliveira.oliveira301@gmail.com>
Date: Mon, 18 Jan 2021 10:50:50 +0000 (-0300)
Subject: MotoActions: Set doze options back to true
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3003eb5e3898c3d61272cdc8bea86d61e8072b47;p=GitHub%2FLineageOS%2Fandroid_hardware_motorola.git

MotoActions: Set doze options back to true

* While c9999dacb17 introduced options to false, whole code sets to true as default.
Bring it back to default code behavior

Change-Id: I32cb9851c81282e0440f5a0d1654f31b37e35c91
(cherry picked from commit 0cfc1872239eb0ac57355ae4e5060909ef4235b4)
---

diff --git a/MotoActions/res/xml/doze_panel.xml b/MotoActions/res/xml/doze_panel.xml
index 42cdbdb..7e8db99 100644
--- a/MotoActions/res/xml/doze_panel.xml
+++ b/MotoActions/res/xml/doze_panel.xml
@@ -23,14 +23,14 @@
 
        <SwitchPreference
            android:key="gesture_pick_up"
-           android:defaultValue="false"
+           android:defaultValue="true"
            android:title="@string/pick_up_gesture_title"
            android:summary="@string/pick_up_gesture_summary"
            android:icon="@drawable/ic_pickup" />
 
        <SwitchPreference
            android:key="gesture_hand_wave"
-           android:defaultValue="false"
+           android:defaultValue="true"
            android:title="@string/hand_wave_gesture_title"
            android:summary="@string/hand_wave_gesture_summary"
            android:icon="@drawable/ic_hand" />