am 0259c629: Merge "Fix issue where deleting item from folder leaves extra page" into jb-ub-now-kermit
* commit '0259c629cb5b280d0d9c821f8b1685707d7ba589': Fix issue where deleting item from folder leaves extra page
This commit is contained in:
@@ -773,7 +773,11 @@ public class Folder extends LinearLayout implements DragSource, View.OnClickList
|
||||
}
|
||||
completeDragExit();
|
||||
}
|
||||
} else {
|
||||
}
|
||||
|
||||
// This is kind of hacky, but in general, dropping on the workspace handles removing
|
||||
// the extra screen, but dropping elsewhere (back to self, or onto delete) doesn't.
|
||||
if (target != mLauncher.getWorkspace()) {
|
||||
mLauncher.getWorkspace().removeExtraEmptyScreen(true, null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user