mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
AllAppsSearch interface change Version 3
Change-Id: I79f635582075a1e33e970e4f4eb6ec653572fefe
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user