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
This commit is contained in:
Arian 2023-03-16 17:12:05 +01:00 committed by Jan Altensen (Stricted)
parent aee59181ce
commit cbf5989f8b

View file

@ -20,4 +20,10 @@
<bool name="def_wifi_on">true</bool>
<string name="def_backup_transport">com.stevesoltys.seedvault.transport.ConfigurableBackupTransport</string>
<!-- 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>