Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e67f08bd authored by Lorenzo Lucena Maguire's avatar Lorenzo Lucena Maguire Committed by Android (Google) Code Review
Browse files

Merge "Create configuration resources for the Double Tap Power Button Gesture" into main

parents b8581404 2fa911dd
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -4205,9 +4205,17 @@
         must match the value of config_cameraLaunchGestureSensorType in OEM's HAL -->
    <string translatable="false" name="config_cameraLaunchGestureSensorStringType"></string>

    <!-- Allow the gesture to double tap the power button to trigger a target action. -->
    <bool name="config_doubleTapPowerGestureEnabled">true</bool>
    <!-- Allow the gesture to double tap the power button twice to start the camera while the device
         is non-interactive. -->
    <bool name="config_cameraDoubleTapPowerGestureEnabled">true</bool>
    <!-- Allow the gesture to double tap the power button twice to launch the wallet. -->
    <bool name="config_walletDoubleTapPowerGestureEnabled">true</bool>
    <!-- Default target action for double tap of the power button gesture.
         0: Launch camera
         1: Launch wallet -->
    <integer name="config_defaultDoubleTapPowerGestureAction">0</integer>

    <!-- Allow the gesture to quick tap the power button multiple times to start the emergency sos
         experience while the device is non-interactive. -->
+4 −1
Original line number Diff line number Diff line
@@ -3140,9 +3140,12 @@
  <!-- Gesture -->
  <java-symbol type="integer" name="config_cameraLaunchGestureSensorType" />
  <java-symbol type="string" name="config_cameraLaunchGestureSensorStringType" />
  <java-symbol type="bool" name="config_cameraDoubleTapPowerGestureEnabled" />
  <java-symbol type="integer" name="config_cameraLiftTriggerSensorType" />
  <java-symbol type="string" name="config_cameraLiftTriggerSensorStringType" />
  <java-symbol type="bool" name="config_doubleTapPowerGestureEnabled" />
  <java-symbol type="bool" name="config_cameraDoubleTapPowerGestureEnabled" />
  <java-symbol type="bool" name="config_walletDoubleTapPowerGestureEnabled" />
  <java-symbol type="integer" name="config_defaultDoubleTapPowerGestureAction" />
  <java-symbol type="bool" name="config_emergencyGestureEnabled" />
  <java-symbol type="bool" name="config_defaultEmergencyGestureEnabled" />
  <java-symbol type="bool" name="config_defaultEmergencyGestureSoundEnabled" />