Allow hotseat items to be clicked in overview

Bug: 70179573
Change-Id: Ib2cbd7b12e5e1287d652d703e95c15ca6ea12a4e
This commit is contained in:
Tony Wickham
2017-12-05 10:10:55 -08:00
parent 4018f3df14
commit 53370678ce
4 changed files with 12 additions and 4 deletions

View File

@@ -1407,7 +1407,7 @@ public class Workspace extends PagedView
/** Returns whether a drag should be allowed to be started from the current workspace state. */
public boolean workspaceIconsCanBeDragged() {
return mLauncher.isInState(NORMAL) || mLauncher.isInState(SPRING_LOADED);
return mLauncher.getStateManager().getState().workspaceIconsCanBeDragged;
}
private void updateChildrenLayersEnabled() {