diff options
Diffstat (limited to 'src/com/android/launcher3/UninstallShortcutReceiver.java')
-rw-r--r-- | src/com/android/launcher3/UninstallShortcutReceiver.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/launcher3/UninstallShortcutReceiver.java b/src/com/android/launcher3/UninstallShortcutReceiver.java index d92963abe..ccea4ec0c 100644 --- a/src/com/android/launcher3/UninstallShortcutReceiver.java +++ b/src/com/android/launcher3/UninstallShortcutReceiver.java @@ -30,7 +30,7 @@ import java.util.Iterator; public class UninstallShortcutReceiver extends BroadcastReceiver { private static final String ACTION_UNINSTALL_SHORTCUT = - "com.android.launcher3.action.UNINSTALL_SHORTCUT"; + "com.android.launcher.action.UNINSTALL_SHORTCUT"; // The set of shortcuts that are pending uninstall private static ArrayList<PendingUninstallShortcutInfo> mUninstallQueue = @@ -78,6 +78,7 @@ public class UninstallShortcutReceiver extends BroadcastReceiver { PendingUninstallShortcutInfo pendingInfo) { final Intent data = pendingInfo.data; + LauncherAppState.setApplicationContext(context.getApplicationContext()); LauncherAppState app = LauncherAppState.getInstance(); synchronized (app) { // TODO: make removeShortcut internally threadsafe removeShortcut(context, data); |