commit | 7d3c299a08e645fd9baa8816634c90a66107fe69 | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Fri Jun 28 15:51:15 2019 -0700 |
committer | Sunny Goyal <sunnygoyal@google.com> | Fri Jun 28 15:51:27 2019 -0700 |
tree | 28ed9e0ab2650d37949caa574238f0a86a179cfd | |
parent | 0e188d051e01a3f68c678b1ec117395a1e41806a [diff] |
Resetting UI state when the last has launched from Launcher Bug: 135038270 Change-Id: I4a563116d8c7715163671dfffdfcf0f886e21623
diff --git a/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/QuickSwitchState.java b/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/QuickSwitchState.java index cdc271f..6c9f46f 100644 --- a/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/QuickSwitchState.java +++ b/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/QuickSwitchState.java
@@ -57,6 +57,8 @@ if (!success) { launcher.getStateManager().goToState(OVERVIEW); tasktolaunch.notifyTaskLaunchFailed(TAG); + } else { + launcher.getStateManager().moveToRestState(); } }, new Handler(Looper.getMainLooper())); } else {