summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Lorenzo Lucena Maguire <lorenzolm@google.com> 2025-01-08 07:34:18 +0000
committer Lorenzo Lucena Maguire <lorenzolm@google.com> 2025-01-08 07:35:21 +0000
commit4f14778344e0e11fb0a9e1a457044d6e40bc0288 (patch)
tree3dc6fc98bd1d5781484fe50121acc831880f2186
parent5c6edc7ddce257ce74f67a2495e3b3e413cdb554 (diff)
Disable config_doubleTapPowerGestureMode on Wear
Wear already has a logic to handle double-press gestures and the config was already disabled under ag/30973796. Since the config was modified in ag/30980545, this CL disables config_doubleTapPowerGestureMode on Wear again since Wear has its own double tap power gesture. Bug: 388347646 Test: manual Flag: EXEMPT xml change only Change-Id: If45fb406dd1462138d3c647d3a17af87276b1b1b
-rw-r--r--core/res/res/values-watch/config.xml11
1 files changed, 9 insertions, 2 deletions
diff --git a/core/res/res/values-watch/config.xml b/core/res/res/values-watch/config.xml
index e6295ea06177..4ff3f8825cc4 100644
--- a/core/res/res/values-watch/config.xml
+++ b/core/res/res/values-watch/config.xml
@@ -101,6 +101,13 @@
P.S this is a change only intended for wear devices. -->
<bool name="config_enableViewGroupScalingFading">true</bool>
- <!-- Allow the gesture to double tap the power button to trigger a target action. -->
- <bool name="config_doubleTapPowerGestureEnabled">false</bool>
+ <!-- Controls the double tap power button gesture to trigger a target action.
+ 0: Gesture is disabled
+ 1: Launch camera mode, allowing the user to disable/enable the double tap power gesture
+ from launching the camera application.
+ 2: Multi target mode, allowing the user to select one of the targets defined in
+ config_doubleTapPowerGestureMultiTargetDefaultAction and to disable/enable the double
+ tap power gesture from triggering the selected target action.
+ -->
+ <integer name="config_doubleTapPowerGestureMode">0</integer>
</resources>