AllAppsSearch interface change Version 3

Change-Id: I79f635582075a1e33e970e4f4eb6ec653572fefe
This commit is contained in:
Hyunyoung Song
2020-05-18 08:58:05 -07:00
parent 764f67e967
commit ef9a6972ce
3 changed files with 49 additions and 22 deletions

View File

@@ -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