Merge "Fixing issue where dragging final items out of hot seat folder can causes inconsistency issue." into jb-ub-gel-agar

This commit is contained in:
Winson Chung authored and Android (Google) Code Review committed 2013-08-26 22:25:03 +00:00
commit 53fc06d5d6
3 files changed
+33 -15

No files matched your search

+12
View File
@@ -567,6 +567,18 @@ public class Workspace extends SmoothPagedView
return -1;
}
public boolean hasNonCustomEmptyScreens() {
Log.w(TAG, "10249126 - hasNonCustomEmptyScreens()");
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;
}