Allow override the suppress Overlay condition
Create interface for allowing the #shouldSuppressOverlay() method could
be overrided by different implementation.
Bug: 358473717
Flag: com.android.systemui.override_suppress_overlay_condition
Test: atest ClipboardListenerTest
Change-Id: Iaa3b518820a923537968c4c67cf047bcb77b9b50
diff --git a/packages/SystemUI/aconfig/systemui.aconfig b/packages/SystemUI/aconfig/systemui.aconfig
index a9d4c89..d98b05d 100644
--- a/packages/SystemUI/aconfig/systemui.aconfig
+++ b/packages/SystemUI/aconfig/systemui.aconfig
@@ -1424,6 +1424,13 @@
}
flag {
+ name: "override_suppress_overlay_condition"
+ namespace: "systemui"
+ description: "Allow override the conditions to suppress the clipboard overlay"
+ bug: "358473717"
+}
+
+flag {
name: "media_projection_dialog_behind_lockscreen"
namespace: "systemui"
description: "Ensure MediaProjection Dialog appears behind the lockscreen"