mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
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:
committed by
José Rebelo
parent
28e39edea1
commit
bba747cb6c
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user