Fix issue where you can't long press on empty screen to enter overiew mode

Change-Id: Ia7e3913187e5f38ce9db6f9da4bf9e8408ea977a
This commit is contained in:
Adam Cohen committed 2013-09-16 14:58:24 -07:00
1 parent 1003be9e62
commit d3ecce9192
2 files changed
+8 -22

No files matched your search

-12
View File
@@ -653,18 +653,6 @@ public class Workspace extends SmoothPagedView
return -1;
}
public boolean hasNonCustomEmptyScreens() {
Launcher.addDumpLog(TAG, "10249126 - hasNonCustomEmptyScreens()", true);
Iterator<Long> iter = mWorkspaceScreens.keySet().iterator();
while (iter.hasNext()) {
long id = iter.next();
if (id >= 0) {
return true;
}
}
return false;
}
ArrayList<Long> getScreenOrder() {
return mScreenOrder;
}