ui: optionally prevent screen shots and insecure displays (#5166)

Introduce new Settings / User interface / Screenshots to optionally prevent screenshots and viewing on non-secure displays.
Toggling this setting requires a GB restart to become fully effective.
This commit is contained in:
Thomas Kuehne
2025-07-29 20:57:27 +02:00
committed by José Rebelo
parent 28e39edea1
commit bba747cb6c
5 changed files with 65 additions and 0 deletions
+8
View File
@@ -173,6 +173,14 @@
android:title="@string/pref_theme_black_background"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
android:defaultValue="false"
android:icon="@drawable/ic_visibility_lock"
android:key="block_screenshots"
android:layout="@layout/preference_checkbox"
android:summary="@string/pref_summary_block_screenshots"
android:title="@string/pref_title_block_screenshot" />
<PreferenceCategory
android:key="pref_screen_theme"
android:title="@string/pref_header_main_screen"