AllAppsSearch interface change Version 3

Change-Id: I79f635582075a1e33e970e4f4eb6ec653572fefe
This commit is contained in:
Hyunyoung Song committed 2020-05-27 17:16:56 -07:00
1 parent 764f67e967
commit ef9a6972ce
3 files changed
+49 -22

No files matched your search

@@ -242,6 +242,7 @@ public abstract class AbstractStateChangeTouchController
public void onDragStart(boolean start, float startDisplacement) {
mStartState = mLauncher.getStateManager().getState();
mIsLogContainerSet = false;
if (mCurrentAnimation == null) {
mFromState = mStartState;
mToState = null;
@@ -259,6 +260,10 @@ public abstract class AbstractStateChangeTouchController
}
mCanBlockFling = mFromState == NORMAL;
mFlingBlockCheck.unblockFling();
// Must be called after all the animation controllers have been paused
if (mToState == ALL_APPS || mToState == NORMAL) {
mLauncher.getAllAppsController().onDragStart(mToState == ALL_APPS);
}
}
@Override