summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher/LauncherSettings.java
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:44:05 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:44:05 -0800
commit15a8880cb1b9010ce4503c10c1666568d49415b1 (patch)
tree29fa05cbaa19101da95b010de82290cebfb6d092 /src/com/android/launcher/LauncherSettings.java
parentbb96f41aa99687260370cf8cdee7683653e538a7 (diff)
downloadandroid_packages_apps_Trebuchet-15a8880cb1b9010ce4503c10c1666568d49415b1.tar.gz
android_packages_apps_Trebuchet-15a8880cb1b9010ce4503c10c1666568d49415b1.tar.bz2
android_packages_apps_Trebuchet-15a8880cb1b9010ce4503c10c1666568d49415b1.zip
auto import from //branches/cupcake/...@130745
Diffstat (limited to 'src/com/android/launcher/LauncherSettings.java')
-rw-r--r--src/com/android/launcher/LauncherSettings.java12
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.