Skip to content

Commit

Permalink
Settings: Add window ignore secure feature [2/2]
Browse files Browse the repository at this point in the history
Feature: yt/KSCOPE-23
Change-Id: Ibdd7406a3e59373813c9a98233e6c04b8554d618
Signed-off-by: LibXZR <[email protected]>
  • Loading branch information
libxzr authored and NurKeinNeid committed Jan 10, 2025
1 parent 40c7f42 commit 3b55644
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions res/values/derp_strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -373,4 +373,8 @@
<!-- Application downgrade -->
<string name="app_downgrade_title">Allow application downgrade</string>
<string name="app_downgrade_summary">This allows you to downgrade applications. Note that this may lead to crashes and data corruption.</string>

<!-- Ignore window secure -->
<string name="ignore_window_secure_title">Ignore window secure flags</string>
<string name="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>
6 changes: 6 additions & 0 deletions res/xml/more_security_privacy_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,12 @@
android:summary="@string/app_downgrade_summary"
android:defaultValue="false"/>

<org.derpfest.support.preferences.SecureSettingSwitchPreference
android:key="window_ignore_secure"
android:title="@string/ignore_window_secure_title"
android:summary="@string/ignore_window_secure_summary"
android:defaultValue="false"/>

<Preference
android:order="260"
android:key="encryption_and_credential"
Expand Down

0 comments on commit 3b55644

Please sign in to comment.