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
Loading
Please register or sign in to comment