diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2015-03-26 15:22:29 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2015-04-01 10:11:11 -0700 |
commit | e9909f58c2b235f8066295c4faa6a00415968ae7 (patch) | |
tree | 3ace59703abb08e66cabf7168e67335500045974 /src/com/android/launcher3/Workspace.java | |
parent | 7db312f37b37998e411e76d9646c04ea7478022e (diff) | |
download | android_packages_apps_Trebuchet-e9909f58c2b235f8066295c4faa6a00415968ae7.tar.gz android_packages_apps_Trebuchet-e9909f58c2b235f8066295c4faa6a00415968ae7.tar.bz2 android_packages_apps_Trebuchet-e9909f58c2b235f8066295c4faa6a00415968ae7.zip |
Removing UninstallShortcutReceiver
> Removing support due to its flacky design. Removing a shortcut
causes a full reload. Also we do not have any concept of owner, so
any app can remove any shortcut.
Bug: 11372484
Change-Id: I781c922fac7dc77ea82cd0a2af74a5fca22500de
Diffstat (limited to 'src/com/android/launcher3/Workspace.java')
-rw-r--r-- | src/com/android/launcher3/Workspace.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index 92e01324f..ad15a6c33 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -402,7 +402,6 @@ public class Workspace extends SmoothPagedView setChildrenBackgroundAlphaMultipliers(1f); // Prevent any Un/InstallShortcutReceivers from updating the db while we are dragging InstallShortcutReceiver.enableInstallQueue(); - UninstallShortcutReceiver.enableUninstallQueue(); post(new Runnable() { @Override public void run() { @@ -430,7 +429,6 @@ public class Workspace extends SmoothPagedView // Re-enable any Un/InstallShortcutReceiver and now process any queued items InstallShortcutReceiver.disableAndFlushInstallQueue(getContext()); - UninstallShortcutReceiver.disableAndFlushUninstallQueue(getContext()); mDragSourceInternal = null; mLauncher.onInteractionEnd(); |