diff options
author | Winson Chung <winsonc@google.com> | 2014-03-06 10:12:02 -0800 |
---|---|---|
committer | Danesh M <daneshm90@gmail.com> | 2014-06-06 22:54:29 -0700 |
commit | 08165eea0df3298e2ace34ff86068a8a8fcb7a78 (patch) | |
tree | 381ed7c48fcf093a871d4f97c8eacff6e48f0f40 /src/com/android/launcher3/Workspace.java | |
parent | d9c5eb0447d6742717d9b6eaf0dc8448512903a5 (diff) | |
download | android_packages_apps_Trebuchet-08165eea0df3298e2ace34ff86068a8a8fcb7a78.tar.gz android_packages_apps_Trebuchet-08165eea0df3298e2ace34ff86068a8a8fcb7a78.tar.bz2 android_packages_apps_Trebuchet-08165eea0df3298e2ace34ff86068a8a8fcb7a78.zip |
Disabling cling when the user moves the folder before launching it. (Bug 12963868)
Change-Id: Iddcdf655c78b7240be123bd549f3d45794d02c83
Diffstat (limited to 'src/com/android/launcher3/Workspace.java')
-rw-r--r-- | src/com/android/launcher3/Workspace.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index ba3301d27..c4cc60462 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -2766,6 +2766,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)) { |