Snap for 13581829 from d3c7533a55 to 25Q3-release

Change-Id: I3c4d2a3f18154f8514d266a76899456bc0476149
This commit is contained in:
Android Build Coastguard Worker committed 2025-06-01 14:17:59 -07:00
commit febd5bbbb6
2 files changed
+8

No files matched your search

@@ -119,6 +119,7 @@ class AllAppsActionManager(
context
.getSystemService(AccessibilityManager::class.java)
?.unregisterSystemAction(GLOBAL_ACTION_ACCESSIBILITY_ALL_APPS)
quickstepKeyGestureEventsManager.unregisterAllAppsKeyGestureEvent()
SettingsCache.INSTANCE[context].unregister(
USER_SETUP_COMPLETE_URI,
onSettingsChangeListener,
@@ -172,6 +172,13 @@ class AllAppsActionManagerTest {
assertThat(allAppsActionManager.isActionRegistered).isTrue()
verify(quickstepKeyGestureEventsManager).registerAllAppsKeyGestureEvent(any())
}
@Test
fun onDestroy_shouldUnregisterAllAppsKeyGestureHandler() {
allAppsActionManager.onDestroy()
verify(quickstepKeyGestureEventsManager).unregisterAllAppsKeyGestureEvent()
}
}
@LauncherAppSingleton