Dismiss system windows on screenshot action
Bug: 309933761
Fix: 309933761
Flag: ACONFIG com.android.systemui.screenshot_action_dismiss_system_windows DEVELOPMENT
Test: take a screenshot with system overlay visible (e.g. power menu)
and verify that after tapping screenshot buttons, the overlay disappears
Test: atest ActionIntentExecutorTest
Change-Id: I4502fe84de520c6ebaf06749807bead0f023bfae
diff --git a/packages/SystemUI/aconfig/systemui.aconfig b/packages/SystemUI/aconfig/systemui.aconfig
index 71f9ba27..ee82807 100644
--- a/packages/SystemUI/aconfig/systemui.aconfig
+++ b/packages/SystemUI/aconfig/systemui.aconfig
@@ -377,6 +377,13 @@
}
flag {
+ name: "screenshot_action_dismiss_system_windows"
+ namespace: "systemui"
+ description: "Dismiss existing system windows when starting action from screenshot UI"
+ bug: "309933761"
+}
+
+flag {
name: "run_fingerprint_detect_on_dismissible_keyguard"
namespace: "systemui"
description: "Run fingerprint detect instead of authenticate if the keyguard is dismissible."