diff options
author | nebkat <nebkat@teamhacksung.org> | 2012-12-26 13:01:07 +0000 |
---|---|---|
committer | nebkat <nebkat@teamhacksung.org> | 2012-12-26 13:38:33 +0000 |
commit | 8fb7b9eadd45959d2c3aca9a1bb910ca875cc593 (patch) | |
tree | a652102d46137188697b4e225d6312f432026c92 /src/com/cyanogenmod/trebuchet/LauncherSettings.java | |
parent | 8fb6e3e975674d6960dc370ce0d2c7dd80b50117 (diff) | |
download | android_packages_apps_Trebuchet-8fb7b9eadd45959d2c3aca9a1bb910ca875cc593.tar.gz android_packages_apps_Trebuchet-8fb7b9eadd45959d2c3aca9a1bb910ca875cc593.tar.bz2 android_packages_apps_Trebuchet-8fb7b9eadd45959d2c3aca9a1bb910ca875cc593.zip |
LauncherActions: Don't use magic intents
Change-Id: I5ee3fbc9b1cdc63407def751bb7639cb54bdb7c3
Diffstat (limited to 'src/com/cyanogenmod/trebuchet/LauncherSettings.java')
-rw-r--r-- | src/com/cyanogenmod/trebuchet/LauncherSettings.java | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/src/com/cyanogenmod/trebuchet/LauncherSettings.java b/src/com/cyanogenmod/trebuchet/LauncherSettings.java index 361dd69a0..d41ce7141 100644 --- a/src/com/cyanogenmod/trebuchet/LauncherSettings.java +++ b/src/com/cyanogenmod/trebuchet/LauncherSettings.java @@ -56,6 +56,11 @@ class LauncherSettings { static final int ITEM_TYPE_SHORTCUT = 1; /** + * The gesture is a launcher action + */ + static final int ITEM_TYPE_LAUNCHER_ACTION = 3; + + /** * The icon type. * <P>Type: INTEGER</P> */ @@ -173,15 +178,6 @@ class LauncherSettings { static final int ITEM_TYPE_FOLDER = 2; /** - * The favorite is a live folder - * - * Note: live folders can no longer be added to Launcher, and any live folders which - * exist within the launcher database will be ignored when loading. That said, these - * entries in the database may still exist, and are not automatically stripped. - */ - static final int ITEM_TYPE_LIVE_FOLDER = 3; - - /** * The favorite is a widget */ static final int ITEM_TYPE_APPWIDGET = 4; @@ -207,15 +203,6 @@ class LauncherSettings { * <P>Type: INTEGER</P> */ static final String APPWIDGET_ID = "appWidgetId"; - - /** - * Indicates whether this favorite is an application-created shortcut or not. - * If the value is 0, the favorite is not an application-created shortcut, if the - * value is 1, it is an application-created shortcut. - * <P>Type: INTEGER</P> - */ - @Deprecated - static final String IS_SHORTCUT = "isShortcut"; /** * The URI associated with the favorite. It is used, for instance, by @@ -232,5 +219,10 @@ class LauncherSettings { * @see android.provider.LiveFolders#DISPLAY_MODE_LIST */ static final String DISPLAY_MODE = "displayMode"; + + /** + * The LauncherAction of a launcher action shortcut + */ + static final String LAUNCHER_ACTION = "action"; } } |