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 parent
8d42081b23
commit
98b5e1f077
7 files changed
+63
-34
No files matched your search
+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