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

Skip to content
Commit 803c77a0 authored by Dan Sandler's avatar Dan Sandler
Browse files

Switch long-press power behavior in AOSP.

Key changes to resources that define default settings:

config_longPressOnPowerBehavior => 5

   By default, Android devices should now invoke the current
   assistant when the power button is held down for longer than
   config_globalActionsKeyTimeout milliseconds.

   May still be overridden by user setting
   Settings.Global.POWER_BUTTON_LONG_PRESS.

config_keyChordPowerVolumeUp => 2

   The power + volume-up keychord now invokes the
   GlobalActions ("power menu") like the long-press power
   gesture did previously.

   May still be overridden by user setting
   Settings.Global.KEY_CHORD_POWER_VOLUME_UP.

Fixes: 184351058
Test: adb shell dumpsys window | egrep 'm(LongPressOnPower|PowerVolUp)'
Change-Id: If0c35a50095ae56f10ac1f53028e7009ec948fe7
parent 3188bdda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment