Cherish:Add window ignore secure feature

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
LibXZR
2022-04-23 15:51:35 +07:00
committed by Hưng Phan
parent 620c96ef79
commit e5cf1e1651
2 changed files with 9 additions and 1 deletions

View File

@@ -309,5 +309,7 @@
<string name="qs_show_auto_brightness_title">Auto brightness icon</string> <string name="qs_show_auto_brightness_title">Auto brightness icon</string>
<string name="qs_show_auto_brightness_summary">Show toggle for adaptive brightness near the slider</string> <string name="qs_show_auto_brightness_summary">Show toggle for adaptive brightness near the slider</string>
<!-- Laboratory - Ignore window secure -->
<string name="laboratory_ignore_window_secure_title">Ignore window secure flags</string>
<string name="laboratory_ignore_window_secure_summary">This removes the screenshots and screenrecords limits for all applications. Normally, special applications are replaced with black areas in records. This can be convenient in some cases but may lead to privacy leaks. After changing this toggle, you may need to restart applications for the change to take effect.</string>
</resources> </resources>

View File

@@ -24,5 +24,11 @@
android:title="@string/headset_connect_player_title" android:title="@string/headset_connect_player_title"
android:summary="@string/headset_connect_player_summary" android:summary="@string/headset_connect_player_summary"
android:defaultValue="false" /> android:defaultValue="false" />
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="window_ignore_secure"
android:title="@string/laboratory_ignore_window_secure_title"
android:summary="@string/laboratory_ignore_window_secure_summary"
android:defaultValue="false"/>
</PreferenceScreen> </PreferenceScreen>