Shortcut Helper - Implement lifecycle of new version
- Repository holds the lifecycle state. It listens to system events
(show, hide, toggle requests) and ui events (user leaving) to map the
lifecycle state
- ShortcutHelperActivityStarter starts the activity when state becomes
active
- ShortcutHelperActivity finishes itself when the state becomes inactive
Bug: 335387428
Test: Unit tests in this CL
Test: Manually
Flag: com.android.systemui.keyboard_shortcut_helper_rewrite
Change-Id: Icf4d24440f5bc0937bfee48c859c0d40db979883
diff --git a/packages/SystemUI/AndroidManifest.xml b/packages/SystemUI/AndroidManifest.xml
index 59e2b91..b9e70ef 100644
--- a/packages/SystemUI/AndroidManifest.xml
+++ b/packages/SystemUI/AndroidManifest.xml
@@ -1110,7 +1110,7 @@
android:resource="@xml/home_controls_dream_metadata" />
</service>
- <activity android:name="com.android.systemui.keyboard.shortcut.ShortcutHelperActivity"
+ <activity android:name="com.android.systemui.keyboard.shortcut.ui.view.ShortcutHelperActivity"
android:exported="false"
android:theme="@style/ShortcutHelperTheme"
android:excludeFromRecents="true"