Don't move to adjacent page if it is full when dropping on it.
Bug: 32003721 Change-Id: Ia81b75a73f510ad2a58764dec9eb7e57b9bf2dcd
This commit is contained in:
@@ -2647,12 +2647,12 @@ public class Workspace extends PagedView
|
||||
resultSpan[1]);
|
||||
}
|
||||
|
||||
if (getScreenIdForPageIndex(mCurrentPage) != screenId && !hasMovedIntoHotseat) {
|
||||
snapScreen = getPageIndexForScreenId(screenId);
|
||||
snapToPage(snapScreen);
|
||||
}
|
||||
|
||||
if (foundCell) {
|
||||
if (getScreenIdForPageIndex(mCurrentPage) != screenId && !hasMovedIntoHotseat) {
|
||||
snapScreen = getPageIndexForScreenId(screenId);
|
||||
snapToPage(snapScreen);
|
||||
}
|
||||
|
||||
final ItemInfo info = (ItemInfo) cell.getTag();
|
||||
if (hasMovedLayouts) {
|
||||
// Reparent the view
|
||||
|
||||
Reference in New Issue
Block a user