summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYingren Wang <yingrenw@codeaurora.org>2020-12-08 12:59:43 +0800
committeralk3pInjection <webmaster@raspii.tech>2022-05-16 22:14:36 +0800
commitde9a6adadf700124e2df93908a1800c7af68e855 (patch)
tree6f8a01bb2e9f88f938726c94cb2bcb2f71a5f574
parentd33162fc94e2c6ad1b27274614303f7d75dab26d (diff)
Launcher3: 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/src/com/android/quickstep/LauncherActivityInterface.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/quickstep/src/com/android/quickstep/LauncherActivityInterface.java b/quickstep/src/com/android/quickstep/LauncherActivityInterface.java
index 719c2ae78c..8875f6d942 100644
--- a/quickstep/src/com/android/quickstep/LauncherActivityInterface.java
+++ b/quickstep/src/com/android/quickstep/LauncherActivityInterface.java
@@ -234,7 +234,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);