diff options
author | Yingren Wang <yingrenw@codeaurora.org> | 2020-12-08 12:59:43 +0800 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2021-09-27 21:17:05 +0800 |
commit | c5b878b92c6ece13259fbf68ba197f2d00203265 (patch) | |
tree | 3700694261d9faff29204c453296d23a200a0e15 | |
parent | 2e2c7d8adb2d44171594a93a6efd591fdb0014ef (diff) |
Trebuchet: Fix gesture navigation fail to move to bottom
Go to the recents page from all apps page and rotate to horizontal, at
last switch to one app that only support portrait display, we will see
the gesture navigation always at device right and not move to bottom.
At this scenario, launcher state switch from overview to all apps, but
launcher not notify systemui update gesture navigation display.
To slove this, launcher must notify systemui update gesture navigation
display when launcher state switch from overview to all apps.
Change-Id: I23bc642c62596dff7d13e299e6d83563e38ec144
CRs-Fixed: 2828560
-rw-r--r-- | quickstep/recents_ui_overrides/src/com/android/quickstep/LauncherActivityInterface.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quickstep/recents_ui_overrides/src/com/android/quickstep/LauncherActivityInterface.java b/quickstep/recents_ui_overrides/src/com/android/quickstep/LauncherActivityInterface.java index cd4be1895..ac2064800 100644 --- a/quickstep/recents_ui_overrides/src/com/android/quickstep/LauncherActivityInterface.java +++ b/quickstep/recents_ui_overrides/src/com/android/quickstep/LauncherActivityInterface.java @@ -235,7 +235,7 @@ public final class LauncherActivityInterface extends @Override public void onStateTransitionComplete(LauncherState toState) { // Are we going from Recents to Workspace? - if (toState == LauncherState.NORMAL) { + if (toState == LauncherState.NORMAL || toState == LauncherState.ALL_APPS) { exitRunnable.run(); notifyRecentsOfOrientation(deviceState); stateManager.removeStateListener(this); |