From 019df65699137d22d7d80d3077b249d465efe531 Mon Sep 17 00:00:00 2001 From: Richard MacGregor Date: Mon, 18 Dec 2023 15:27:36 -0800 Subject: Add notification protections flag Add flag for enabling notification protections during screenshare Test: make Bug: 316953907 Flag: ACONFIG com.android.systemui.screenshare_notification_hiding DISABLED Change-Id: I9a1dfab7d3ae5b69742ad1cc842ec3bb9857f3ab --- packages/SystemUI/aconfig/systemui.aconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/SystemUI/aconfig/systemui.aconfig b/packages/SystemUI/aconfig/systemui.aconfig index b4c3850c30d2..782b850a5c0c 100644 --- a/packages/SystemUI/aconfig/systemui.aconfig +++ b/packages/SystemUI/aconfig/systemui.aconfig @@ -268,3 +268,11 @@ flag { description: "Adds haptic feedback to the volume slider." bug: "316953430" } + +flag { + name: "screenshare_notification_hiding" + namespace: "systemui" + description: "Enable hiding of notifications during screenshare" + bug: "312784809" +} + -- cgit v1.2.3-59-g8ed1b From e6bf64cb6059fe48c4184dc758e3e4463d8c077c Mon Sep 17 00:00:00 2001 From: Richard MacGregor Date: Tue, 19 Dec 2023 09:38:52 -0800 Subject: Add sensitive notification app protections flag Add flag that enables the sensitive notification app protections while screen sharing Test: make Bug: 316954139 Flag: ACONFIG com.android.server.notification.sensitive_notification_app_protection DISABLED Change-Id: I1738b2c453064790711c9e6f7094bfe96ef701cc --- services/core/java/com/android/server/notification/flags.aconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/services/core/java/com/android/server/notification/flags.aconfig b/services/core/java/com/android/server/notification/flags.aconfig index 55d8a0fd1fa1..8e79922a996a 100644 --- a/services/core/java/com/android/server/notification/flags.aconfig +++ b/services/core/java/com/android/server/notification/flags.aconfig @@ -41,3 +41,12 @@ flag { description: "This flag controls the fix for notifications autogroup summary icon updates" bug: "227693160" } + +flag { + name: "sensitive_notification_app_protection" + namespace: "systemui" + description: "This flag controls the sensitive notification app protections while screen sharing" + bug: "312784351" + # Referenced in WM where WM starts before DeviceConfig + is_fixed_read_only: true +} -- cgit v1.2.3-59-g8ed1b