From f1e8d0379b1d0ab68af17c9af7d38fb0f19eb552 Mon Sep 17 00:00:00 2001 From: therootlord Date: Thu, 8 Feb 2018 01:53:34 -0200 Subject: [PATCH] sanders: MotoActions: Disable hand wave by default --- MotoActions/res/xml/doze_panel.xml | 2 +- MotoActions/src/com/moto/actions/MotoActionsSettings.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MotoActions/res/xml/doze_panel.xml b/MotoActions/res/xml/doze_panel.xml index 6363b99..a59085a 100644 --- a/MotoActions/res/xml/doze_panel.xml +++ b/MotoActions/res/xml/doze_panel.xml @@ -25,7 +25,7 @@ diff --git a/MotoActions/src/com/moto/actions/MotoActionsSettings.java b/MotoActions/src/com/moto/actions/MotoActionsSettings.java index e67761e..ca7cccf 100644 --- a/MotoActions/src/com/moto/actions/MotoActionsSettings.java +++ b/MotoActions/src/com/moto/actions/MotoActionsSettings.java @@ -107,7 +107,7 @@ public class MotoActionsSettings { private void loadPreferences(SharedPreferences sharedPreferences) { mCameraGestureEnabled = sharedPreferences.getBoolean(GESTURE_CAMERA_ACTION_KEY, true); mChopChopEnabled = sharedPreferences.getBoolean(GESTURE_CHOP_CHOP_KEY, true); - mIrWakeUpEnabled = sharedPreferences.getBoolean(GESTURE_IR_WAKEUP_KEY, true); + mIrWakeUpEnabled = sharedPreferences.getBoolean(GESTURE_IR_WAKEUP_KEY, false); mPickUpGestureEnabled = sharedPreferences.getBoolean(GESTURE_PICK_UP_KEY, true); mIrSilencerEnabled = sharedPreferences.getBoolean(GESTURE_IR_SILENCER_KEY, false); mFlipToMuteEnabled = sharedPreferences.getBoolean(GESTURE_FLIP_TO_MUTE_KEY, false); @@ -125,7 +125,7 @@ public class MotoActionsSettings { } else if (GESTURE_CHOP_CHOP_KEY.equals(key)) { mChopChopEnabled = sharedPreferences.getBoolean(GESTURE_CHOP_CHOP_KEY, true); } else if (GESTURE_IR_WAKEUP_KEY.equals(key)) { - mIrWakeUpEnabled = sharedPreferences.getBoolean(GESTURE_IR_WAKEUP_KEY, true); + mIrWakeUpEnabled = sharedPreferences.getBoolean(GESTURE_IR_WAKEUP_KEY, false); } else if (GESTURE_PICK_UP_KEY.equals(key)) { mPickUpGestureEnabled = sharedPreferences.getBoolean(GESTURE_PICK_UP_KEY, true); } else if (GESTURE_IR_SILENCER_KEY.equals(key)) {