summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author mrulhania <mrulhania@google.com> 2024-01-26 13:53:05 -0800
committer mrulhania <mrulhania@google.com> 2024-02-08 16:24:44 -0800
commit774a2c9f13f39a075bd57f03bc59c0fdbf94aeac (patch)
tree2b8188eeade9f442e77f7b2b23ebd254e586bcdc
parentdc86f285a91d5dd82bd3421494a07ccf34aaf448 (diff)
Add aconfig flags for hiding login screen
This feature hide screen during screen share, when sensitive content is detected on the screen. Bug: 322887144 Test: build Change-Id: I1ed1277c5ef1f366203a9e4f543174c149933b7d
-rw-r--r--core/java/android/view/flags/view_flags.aconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/core/java/android/view/flags/view_flags.aconfig b/core/java/android/view/flags/view_flags.aconfig
index 3e7a9cb34878..0b3581eaa346 100644
--- a/core/java/android/view/flags/view_flags.aconfig
+++ b/core/java/android/view/flags/view_flags.aconfig
@@ -25,3 +25,20 @@ flag {
bug: "305193969"
is_fixed_read_only: true
}
+
+flag {
+ name: "sensitive_content_app_protection_api"
+ namespace: "permissions"
+ description: "This flag controls the new sensitive content protection API,"
+ " The API will be used by other ui toolkits (i.e. compose, webview, custom virtual views)."
+ bug: "322887144"
+}
+
+flag {
+ name: "sensitive_content_app_protection"
+ namespace: "permissions"
+ description: "This flag controls the sensitive content protection when sharing the screen"
+ bug: "322887144"
+ # Referenced in WM where WM starts before DeviceConfig
+ is_fixed_read_only: true
+} \ No newline at end of file