Resetting UI state when the last has launched from Launcher

Bug: 135038270
Change-Id: I4a563116d8c7715163671dfffdfcf0f886e21623
This commit is contained in:
Sunny Goyal
2019-06-28 15:51:15 -07:00
parent 0e188d051e
commit 7d3c299a08
@@ -57,6 +57,8 @@ public class QuickSwitchState extends BackgroundAppState {
if (!success) {
launcher.getStateManager().goToState(OVERVIEW);
tasktolaunch.notifyTaskLaunchFailed(TAG);
} else {
launcher.getStateManager().moveToRestState();
}
}, new Handler(Looper.getMainLooper()));
} else {