Disabling cling when the user moves the folder before launching it. (Bug 12963868)

Change-Id: Iddcdf655c78b7240be123bd549f3d45794d02c83
This commit is contained in:
Winson Chung
2014-03-06 10:12:02 -08:00
parent 0c255a9467
commit c6c0367111
2 changed files with 10 additions and 1 deletions
+3
View File
@@ -2632,6 +2632,9 @@ public class Workspace extends SmoothPagedView
if (child instanceof BubbleTextView) {
BubbleTextView icon = (BubbleTextView) child;
icon.clearPressedOrFocusedBackground();
} else if (child instanceof FolderIcon) {
// Dismiss the folder cling if we haven't already
mLauncher.getLauncherClings().markFolderClingDismissed();
}
if (child.getTag() == null || !(child.getTag() instanceof ItemInfo)) {