Don't go to NORMAL after task launches if animation in progress
Test: Swipe down on a task, swipe up immediately as it launches; state stays as BACKGROUND_APP instead of NORMAL Fixes: 171757635 Change-Id: Ia38774c01190bd184e229ff532ea9df2a75abcb4
This commit is contained in:
@@ -101,7 +101,7 @@ public class LauncherRecentsView extends RecentsView<BaseQuickstepLauncher>
|
||||
@Override
|
||||
protected void onTaskLaunchAnimationEnd(boolean success) {
|
||||
if (success) {
|
||||
mActivity.getStateManager().goToState(NORMAL, false /* animate */);
|
||||
mActivity.getStateManager().moveToRestState();
|
||||
} else {
|
||||
LauncherState state = mActivity.getStateManager().getState();
|
||||
mActivity.getAllAppsController().setState(state);
|
||||
|
||||
Reference in New Issue
Block a user