Notify AccessibilityManager when the tiles in SysUi changes
Only StatusBar can notify A11yManager tiles changed. StatusBar is the
application that has android.permission.STATUS_BAR_SERVICE.
Bug: 314843909
Flag: ACONFIG android.view.accessibility.a11y_qs_shortcut STAGING
Test: manual (view logs from AccessibilityManagerService)
Test: atest
Change-Id: Idb378226f596005b1143a4a02134b5dee0b94871
diff --git a/packages/SystemUI/tests/AndroidManifest.xml b/packages/SystemUI/tests/AndroidManifest.xml
index 03fde9f..5882b56 100644
--- a/packages/SystemUI/tests/AndroidManifest.xml
+++ b/packages/SystemUI/tests/AndroidManifest.xml
@@ -207,6 +207,19 @@
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
+
+ <activity
+ android:name="com.android.systemui.accessibility.EmptyAccessibilityShortcutTargetActivity"
+ android:exported="false">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.ACCESSIBILITY_SHORTCUT_TARGET" />
+ </intent-filter>
+
+ <meta-data
+ android:name="android.accessibilityshortcut.target"
+ android:resource="@xml/accessibility_shortcut_test_activity" />
+ </activity>
</application>
<instrumentation android:name="android.testing.TestableInstrumentation"