Evolver: Dev toggle to ignore app wallpaper dimming requests [2/2]

breaks an app API (even if very non-critical) so should be under dev settings
This commit is contained in:
Ido Ben-Hur
2024-06-11 19:52:21 +09:00
committed by Joey Huab
parent f9d6723ea3
commit bd41fec3f1
2 changed files with 9 additions and 0 deletions

View File

@@ -269,6 +269,8 @@
<string name="miscellaneous_developer_options_category">Developer options</string>
<string name="miscellaneous_app_downgrade_title">Allow application downgrade</string>
<string name="miscellaneous_app_downgrade_summary">Allow downgrading system applications, which may result in crashes and data loss</string>
<string name="miscellaneous_block_wallpaper_dimming_title">Ignore wallpaper dimming requests</string>
<string name="miscellaneous_block_wallpaper_dimming_summary">Blocks all apps from setting the wallpaper dim\nForces dim to 0</string>
<string name="miscellaneous_ignore_window_secure_title">Ignore window secure flags</string>
<string name="miscellaneous_ignore_window_secure_summary">Remove restrictions on screenshots and screen recordings for all applications, potentially risking privacy leaks</string>
<string name="miscellaneous_unlimit_screenrecord_title">Unlimit screenrecord</string>

View File

@@ -25,6 +25,13 @@
android:key="miscellaneous_developer_options_category"
android:title="@string/miscellaneous_developer_options_category">
<!-- Block wallpaper dimming -->
<org.evolution.settings.preferences.SystemSettingSwitchPreference
android:key="block_wallpaper_dimming"
android:title="@string/miscellaneous_block_wallpaper_dimming_title"
android:summary="@string/miscellaneous_block_wallpaper_dimming_summary"
android:defaultValue="false" />
<!-- Unlimit screenrecord -->
<org.evolution.settings.preferences.SystemSettingSwitchPreference
android:key="unlimit_screenrecord"