Adding support for skipping animation cancel on reapply
Bug: 314279319 Test: Verified on device Flag: None Change-Id: I0a6e9eef77a1d917c0fce7d4bddd079ceeb10c99
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@ public class PortraitStatesTouchController extends AbstractStateChangeTouchContr
|
||||
protected StateAnimationConfig getConfigForStates(
|
||||
LauncherState fromState, LauncherState toState) {
|
||||
final StateAnimationConfig config = new StateAnimationConfig();
|
||||
config.userControlled = true;
|
||||
config.animProps |= StateAnimationConfig.USER_CONTROLLED;
|
||||
if (fromState == NORMAL && toState == ALL_APPS) {
|
||||
AllAppsSwipeController.applyNormalToAllAppsAnimConfig(mLauncher, config);
|
||||
} else if (fromState == ALL_APPS && toState == NORMAL) {
|
||||
|
||||
Reference in New Issue
Block a user