Fixing some touch / interaction problems

-> Weird reorder/scroll mode hybrid (issue 10550801)
-> Entering overview mode when we shouldn't (issue 10855389)

Change-Id: Ic936ead8deb3a5d4e00f265d09329528a1517063
This commit is contained in:
Adam Cohen committed 2013-09-26 13:53:23 -07:00
1 parent 98928dbed8
commit 93c9756e7a
3 files changed
+17 -7

No files matched your search

+5 -1
View File
@@ -1781,9 +1781,13 @@ public class Workspace extends SmoothPagedView
return mState == State.OVERVIEW;
}
public void enterOverviewMode() {
public boolean enterOverviewMode() {
if (mTouchState != TOUCH_STATE_REST) {
return false;
}
mLauncher.onInteractionBegin();
enableOverviewMode(true, -1, true);
return true;
}
public void exitOverviewMode(boolean animated) {