diff options
Diffstat (limited to 'src/com/android/launcher/LauncherSettings.java')
-rw-r--r-- | src/com/android/launcher/LauncherSettings.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/com/android/launcher/LauncherSettings.java b/src/com/android/launcher/LauncherSettings.java index c5dfd1ff0..77bdc73fe 100644 --- a/src/com/android/launcher/LauncherSettings.java +++ b/src/com/android/launcher/LauncherSettings.java @@ -147,6 +147,11 @@ class LauncherSettings { static final int ITEM_TYPE_LIVE_FOLDER = 3; /** + * The favorite is a gadget + */ + static final int ITEM_TYPE_GADGET = 4; + + /** * The favorite is a clock */ static final int ITEM_TYPE_WIDGET_CLOCK = 1000; @@ -162,6 +167,13 @@ class LauncherSettings { static final int ITEM_TYPE_WIDGET_PHOTO_FRAME = 1002; /** + * The gadgetId of the gadget + * + * <P>Type: INTEGER</P> + */ + static final String GADGET_ID = "gadgetId"; + + /** * 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. |