mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Launcher-side changes to support prediction bar.
Change-Id: Ib9974ad8888ad87137c774f9f531fae9d56b899a
This commit is contained in:
@@ -2040,14 +2040,6 @@ public class Workspace extends SmoothPagedView
|
||||
return -offsetFromTopEdge + mInsets.top + offsetToCenterInOverview;
|
||||
}
|
||||
|
||||
public void updateInteractionForState() {
|
||||
if (mState != State.NORMAL) {
|
||||
mLauncher.onInteractionBegin();
|
||||
} else {
|
||||
mLauncher.onInteractionEnd();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the current workspace {@link State}, returning an animation transitioning the workspace
|
||||
* to that new state.
|
||||
@@ -2060,7 +2052,6 @@ public class Workspace extends SmoothPagedView
|
||||
|
||||
// Update the current state
|
||||
mState = toState;
|
||||
updateInteractionForState();
|
||||
updateAccessibilityFlags();
|
||||
|
||||
return workspaceAnim;
|
||||
|
||||
Reference in New Issue
Block a user