Shorter rebind time for active tile service

Rebind after 1 second (down from 5 seconds) when the tile is active,
except when there's already been a rebind attempt less than 5 seconds
ago. In that case, the rebind delay is still 5 seconds.

Flag: com.android.systemui.qs_quick_rebind_active_tiles
Bug: 315249245
Bug: 362526228
Test: atest TileLifeCycleManagerTest
Change-Id: I674f1ec9f7e53aa6198efebfc5e35f4cb0069bfb
diff --git a/packages/SystemUI/aconfig/systemui.aconfig b/packages/SystemUI/aconfig/systemui.aconfig
index 8a1d81b..538a5a7 100644
--- a/packages/SystemUI/aconfig/systemui.aconfig
+++ b/packages/SystemUI/aconfig/systemui.aconfig
@@ -295,6 +295,16 @@
 }
 
 flag {
+  name: "qs_quick_rebind_active_tiles"
+  namespace: "systemui"
+  description: "Rebind active custom tiles quickly."
+  bug: "362526228"
+  metadata {
+    purpose: PURPOSE_BUGFIX
+  }
+}
+
+flag {
     name: "coroutine_tracing"
     namespace: "systemui"
     description: "Adds thread-local data to System UI's global coroutine scopes to "