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
This commit is contained in:
1 parent
7db312f37b
commit
e9909f58c2
4 files changed
+3
-128
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user