Update screenshot action system window dismiss fix
Switches the flag to a bugfix flag.
The keyguard dismissal change was unrelated and is now
moved out of the flag check since the behavior is unaffected
by the flag value with duplicated code removed.
Bug: 309933761
Test: ActionIntentExecutorTest
Flag: com.android.systemui.fix_screenshot_action_dismiss_system_windows
Change-Id: I1f20437aacf7fc55e53ff08090d1c4e38dc085fc
diff --git a/packages/SystemUI/aconfig/systemui.aconfig b/packages/SystemUI/aconfig/systemui.aconfig
index 626e219..a72bc8a 100644
--- a/packages/SystemUI/aconfig/systemui.aconfig
+++ b/packages/SystemUI/aconfig/systemui.aconfig
@@ -470,6 +470,17 @@
}
flag {
+ name: "fix_screenshot_action_dismiss_system_windows"
+ namespace: "systemui"
+ description: "Dismiss existing system windows when starting action from screenshot UI"
+ bug: "309933761"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
+}
+
+
+flag {
name: "screenshot_private_profile_behavior_fix"
namespace: "systemui"
description: "Private profile support for screenshots"