diff options
author | nebkat <nebkat@gmail.com> | 2011-12-24 22:15:17 +0000 |
---|---|---|
committer | nebkat <nebkat@gmail.com> | 2011-12-27 10:58:46 +0000 |
commit | e0b41c2232deb9ad121bc64a9851543c10c87c68 (patch) | |
tree | 70df2231d33887165d478e201164693328f541d0 /src/com/cyanogenmod/trebuchet | |
parent | 08d9a488e9ee5a8e7e58f24b88c0fd21fe15a8a2 (diff) | |
download | android_packages_apps_Trebuchet-e0b41c2232deb9ad121bc64a9851543c10c87c68.tar.gz android_packages_apps_Trebuchet-e0b41c2232deb9ad121bc64a9851543c10c87c68.tar.bz2 android_packages_apps_Trebuchet-e0b41c2232deb9ad121bc64a9851543c10c87c68.zip |
ShortcutReceiver: Fix Intents
Change-Id: I68ee0b83cac38d2c9590d8ba19b0093e1da3ce0c
Diffstat (limited to 'src/com/cyanogenmod/trebuchet')
3 files changed, 8 insertions, 8 deletions
diff --git a/src/com/cyanogenmod/trebuchet/InstallShortcutReceiver.java b/src/com/cyanogenmod/trebuchet/InstallShortcutReceiver.java index eab8ff6a0..26a92e0d9 100644 --- a/src/com/cyanogenmod/trebuchet/InstallShortcutReceiver.java +++ b/src/com/cyanogenmod/trebuchet/InstallShortcutReceiver.java @@ -27,11 +27,11 @@ import com.cyanogenmod.trebuchet.R; public class InstallShortcutReceiver extends BroadcastReceiver { public static final String ACTION_INSTALL_SHORTCUT = - "com.cyanogenmod.trebuchet.action.INSTALL_SHORTCUT"; + "com.android.launcher.action.INSTALL_SHORTCUT"; // A mime-type representing shortcut data public static final String SHORTCUT_MIMETYPE = - "com.cyanogenmod.trebuchet/shortcut"; + "com.android.launcher/shortcut"; private final int[] mCoordinates = new int[2]; diff --git a/src/com/cyanogenmod/trebuchet/InstallWidgetReceiver.java b/src/com/cyanogenmod/trebuchet/InstallWidgetReceiver.java index 4a04ed11b..fecc3c6d4 100644 --- a/src/com/cyanogenmod/trebuchet/InstallWidgetReceiver.java +++ b/src/com/cyanogenmod/trebuchet/InstallWidgetReceiver.java @@ -42,18 +42,18 @@ import com.cyanogenmod.trebuchet.R; */ public class InstallWidgetReceiver { public static final String ACTION_INSTALL_WIDGET = - "com.cyanogenmod.trebuchet.action.INSTALL_WIDGET"; + "com.android.launcher.action.INSTALL_WIDGET"; public static final String ACTION_SUPPORTS_CLIPDATA_MIMETYPE = - "com.cyanogenmod.trebuchet.action.SUPPORTS_CLIPDATA_MIMETYPE"; + "com.android.launcher.action.SUPPORTS_CLIPDATA_MIMETYPE"; // Currently not exposed. Put into Intent when we want to make it public. // TEMP: Should we call this "EXTRA_APPWIDGET_PROVIDER"? public static final String EXTRA_APPWIDGET_COMPONENT = - "com.cyanogenmod.trebuchet.extra.widget.COMPONENT"; + "com.android.launcher.extra.widget.COMPONENT"; public static final String EXTRA_APPWIDGET_CONFIGURATION_DATA_MIME_TYPE = - "com.cyanogenmod.trebuchet.extra.widget.CONFIGURATION_DATA_MIME_TYPE"; + "com.android.launcher.extra.widget.CONFIGURATION_DATA_MIME_TYPE"; public static final String EXTRA_APPWIDGET_CONFIGURATION_DATA = - "com.cyanogenmod.trebuchet.extra.widget.CONFIGURATION_DATA"; + "com.android.launcher.extra.widget.CONFIGURATION_DATA"; /** * A simple data class that contains per-item information that the adapter below can reference. diff --git a/src/com/cyanogenmod/trebuchet/UninstallShortcutReceiver.java b/src/com/cyanogenmod/trebuchet/UninstallShortcutReceiver.java index eb8c6485d..064693b0c 100644 --- a/src/com/cyanogenmod/trebuchet/UninstallShortcutReceiver.java +++ b/src/com/cyanogenmod/trebuchet/UninstallShortcutReceiver.java @@ -30,7 +30,7 @@ import com.cyanogenmod.trebuchet.R; public class UninstallShortcutReceiver extends BroadcastReceiver { private static final String ACTION_UNINSTALL_SHORTCUT = - "com.cyanogenmod.trebuchet.action.UNINSTALL_SHORTCUT"; + "com.android.launcher.action.UNINSTALL_SHORTCUT"; public void onReceive(Context context, Intent data) { if (!ACTION_UNINSTALL_SHORTCUT.equals(data.getAction())) { |