diff options
author | Arian <arian.kulmer@web.de> | 2023-03-16 17:12:05 +0100 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2023-04-20 00:08:54 +0800 |
commit | ec39a69a11a84c0e8405b78c4484757e69cf47eb (patch) | |
tree | 8f7cb033b1fc056bddda318875d78f9a825f02c6 | |
parent | bf787fb10ae4290aa44a924766397c2220f37bc9 (diff) |
overlay: Disable immersive mode confirmation
The confirmation dialogue is broken in several apps. Displaying the
confirmation dialogue leads to a focus change on which the app requests
immersive mode again leading to a loop of focus changes between the app
and the dialogue. Set the default value to confirmed to avoid this issue.
Example of the issue in Jelly: https://imgur.com/a/DT98ahR
Change-Id: Ifd906f5417cc0a090a2bf7d1f0dcdab26bf62dbb
-rw-r--r-- | overlay/ICESettingsProviderOverlay/res/values/defaults.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/overlay/ICESettingsProviderOverlay/res/values/defaults.xml b/overlay/ICESettingsProviderOverlay/res/values/defaults.xml index e514eab..927ec20 100644 --- a/overlay/ICESettingsProviderOverlay/res/values/defaults.xml +++ b/overlay/ICESettingsProviderOverlay/res/values/defaults.xml @@ -31,4 +31,10 @@ <integer name="def_lockscreen_sounds_enabled">0</integer> <bool name="def_dtmf_tones_enabled">false</bool> <bool name="def_sound_effects_enabled">false</bool> + + <!-- Initial value for the Settings.Secure.IMMERSIVE_MODE_CONFIRMATIONS setting, + which is a comma separated list of packages that no longer need confirmation + for immersive mode. + Override to disable immersive mode confirmation for certain packages. --> + <string name="def_immersive_mode_confirmations" translatable="false">confirmed</string> </resources> |