[a11y] Fix Switch Access keyboard input issue in AA+.

See https://buganizer.corp.google.com/issues/308704236#comment7. The issue is only reproducible when "Swipe up to start search" is OFF.

Video: https://drive.google.com/file/d/14ONBHL-qK3xaDWVruSMdQXWRGisyBSc2/view?usp=sharing

Bug: 308704236
Flag: NA
Test: manual
Change-Id: If84c1fcdb65add658022520018e34ad958be6bc2
This commit is contained in:
Holly Sun committed 2023-11-14 14:31:34 -08:00
1 parent 8ed8d67d63
commit 38c0102aef
2 files changed
+14

No files matched your search

@@ -79,6 +79,7 @@ public class AccessibilityActionsView extends View implements StateListener<Laun
}
Launcher l = Launcher.getLauncher(getContext());
if (action == R.string.all_apps_button_label) {
l.getStatsLogManager().keyboardStateManager().setLaunchedFromA11y(true);
l.getStateManager().goToState(ALL_APPS);
return true;
}