Resetting UI state when the last has launched from Launcher

am: 7d3c299a08

Change-Id: I7becc11f2295118a6d20ede2a9e35ac21dfb1930
This commit is contained in:
Sunny Goyal
2019-06-28 16:59:13 -07:00
committed by android-build-merger
@@ -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 {