diff options
author | Robert Burns <burnsra@gmail.com> | 2012-09-05 12:15:53 -0400 |
---|---|---|
committer | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2012-11-19 01:26:18 +0000 |
commit | cdb1e61ac246649e6bb6049e969ff1414e13e650 (patch) | |
tree | f60db7be80a05016046cb1e3e65dd51dc1469c2a /src | |
parent | 138211bcbec2f74c63f9750c279bc6955c5ad3a2 (diff) | |
download | packages_apps_trebuchet-cdb1e61ac246649e6bb6049e969ff1414e13e650.zip packages_apps_trebuchet-cdb1e61ac246649e6bb6049e969ff1414e13e650.tar.gz packages_apps_trebuchet-cdb1e61ac246649e6bb6049e969ff1414e13e650.tar.bz2 |
Fix for install shortcut intent
- Enables the ability to install a shortcut to the home screen
Change-Id: I6e3e6c36d40907082ea1f3bf11f30110786f8ce9
Diffstat (limited to 'src')
-rw-r--r-- | src/com/cyanogenmod/trebuchet/InstallShortcutReceiver.java | 2 | ||||
-rw-r--r-- | src/com/cyanogenmod/trebuchet/UninstallShortcutReceiver.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/com/cyanogenmod/trebuchet/InstallShortcutReceiver.java b/src/com/cyanogenmod/trebuchet/InstallShortcutReceiver.java index 422c9e7..f0d114e 100644 --- a/src/com/cyanogenmod/trebuchet/InstallShortcutReceiver.java +++ b/src/com/cyanogenmod/trebuchet/InstallShortcutReceiver.java @@ -34,7 +34,7 @@ import java.util.Set; public class InstallShortcutReceiver extends BroadcastReceiver { public static final String ACTION_INSTALL_SHORTCUT = - "com.cyanogenmod.trebuchet.action.INSTALL_SHORTCUT"; + "com.android.launcher.action.INSTALL_SHORTCUT"; public static final String NEW_APPS_PAGE_KEY = "apps.new.page"; public static final String NEW_APPS_LIST_KEY = "apps.new.list"; diff --git a/src/com/cyanogenmod/trebuchet/UninstallShortcutReceiver.java b/src/com/cyanogenmod/trebuchet/UninstallShortcutReceiver.java index 77959d0..6f4f030 100644 --- a/src/com/cyanogenmod/trebuchet/UninstallShortcutReceiver.java +++ b/src/com/cyanogenmod/trebuchet/UninstallShortcutReceiver.java @@ -35,7 +35,7 @@ import java.util.Set; public class UninstallShortcutReceiver extends BroadcastReceiver { private static final String ACTION_UNINSTALL_SHORTCUT = - "com.cyanogenmod.trebuchet.action.UNINSTALL_SHORTCUT"; + "com.android.launcher.action.UNINSTALL_SHORTCUT"; // The set of shortcuts that are pending uninstall private static ArrayList<PendingUninstallShortcutInfo> mUninstallQueue = |