overlay: Change global actions gestures defaults

Settings use these values to _restore_ the default state for
power menu long press and volume key chord combo.

Sadly they assume default is power menu instead
of assistant and vib/mute toggle instead of global actions,
simply change them to restore a sane behaviour.

Change-Id: I0187bc4e1cd991c9516560e2d8ae24fc388dddd0
This commit is contained in:
Luca Stefani
2021-10-06 20:05:26 +02:00
committed by Arian
parent 5a4a0c748e
commit ad6da901cd

View File

@@ -127,4 +127,21 @@
<!-- Flag indicating which package name can access DeviceConfig table -->
<string name="config_deviceConfiguratorPackageName" translatable="false">org.protonaosp.deviceconfig</string>
<!-- Control the behavior when the user long presses the power button.
0 - Nothing
1 - Global actions menu
2 - Power off (with confirmation)
3 - Power off (without confirmation)
4 - Go to voice assist
5 - Go to assistant (Settings.Secure.ASSISTANT)
-->
<integer name="config_longPressOnPowerBehavior">1</integer>
<!-- Control the behavior when the user presses the power and volume up buttons together.
0 - Nothing
1 - Mute toggle
2 - Global actions menu
-->
<integer name="config_keyChordPowerVolumeUp">1</integer>
</resources>