From 84b745ed000854fbf1e88d2a69d0b8d04a6ceeb2 Mon Sep 17 00:00:00 2001 From: someone5678 Date: Tue, 21 May 2024 10:13:17 -0400 Subject: [PATCH] Settings: Allow to hide screen capture status from apps [2/2] * Allow to hide screen capture detection from privacy invasive apps * This feature will be extended to screenrecord in the future release of Android (A15) Change-Id: I82989e03b5e181a8a3fcf797a27a70bfa5fd06d1 Signed-off-by: someone5678 --- res/values/evolution_strings.xml | 4 ++++ res/xml/more_security_privacy_settings.xml | 7 ++++++- res/xml/security_advanced_settings.xml | 7 +++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/res/values/evolution_strings.xml b/res/values/evolution_strings.xml index f3e3eac0825..045785c4f75 100644 --- a/res/values/evolution_strings.xml +++ b/res/values/evolution_strings.xml @@ -189,4 +189,8 @@ Unlimit screenrecord Remove the 15GiB file size limit\nMay result in a larger than needed output file + + + Hide screen capture status + Hide screen capture and screen record status from all applications. Can be convenient in some cases but may lead to privacy leaks. Need to restart applications for the change to take effect. diff --git a/res/xml/more_security_privacy_settings.xml b/res/xml/more_security_privacy_settings.xml index 014d1e22226..60e84096517 100644 --- a/res/xml/more_security_privacy_settings.xml +++ b/res/xml/more_security_privacy_settings.xml @@ -238,6 +238,11 @@ android:fragment="com.android.settings.security.MemtagPage" settings:controller="com.android.settings.security.MemtagPagePreferenceController" /> - + diff --git a/res/xml/security_advanced_settings.xml b/res/xml/security_advanced_settings.xml index d2d88f11854..75711c3af4c 100644 --- a/res/xml/security_advanced_settings.xml +++ b/res/xml/security_advanced_settings.xml @@ -124,6 +124,13 @@ android:fragment="com.android.settings.security.MemtagPage" settings:controller="com.android.settings.security.MemtagPagePreferenceController" /> + +