summaryrefslogtreecommitdiffstats
path: root/core/java/android/appwidget
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-18 17:39:46 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-18 17:39:46 -0700
commit105925376f8d0f6b318c9938c7b83ef7fef094da (patch)
tree3b19ee2bd8704cb9c6a0da7e42dec6759183de6d /core/java/android/appwidget
parentba87e3e6c985e7175152993b5efcc7dd2f0e1c93 (diff)
downloadframeworks_base-105925376f8d0f6b318c9938c7b83ef7fef094da.zip
frameworks_base-105925376f8d0f6b318c9938c7b83ef7fef094da.tar.gz
frameworks_base-105925376f8d0f6b318c9938c7b83ef7fef094da.tar.bz2
auto import from //branches/cupcake_rel/...@140373
Diffstat (limited to 'core/java/android/appwidget')
-rw-r--r--core/java/android/appwidget/AppWidgetManager.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/core/java/android/appwidget/AppWidgetManager.java b/core/java/android/appwidget/AppWidgetManager.java
index 3b10ed2..eca04b3 100644
--- a/core/java/android/appwidget/AppWidgetManager.java
+++ b/core/java/android/appwidget/AppWidgetManager.java
@@ -109,6 +109,23 @@ public class AppWidgetManager {
public static final String EXTRA_APPWIDGET_IDS = "appWidgetIds";
/**
+ * An intent extra to pass to the AppWidget picker containing a {@link java.util.List} of
+ * {@link AppWidgetProviderInfo} objects to mix in to the list of AppWidgets that are
+ * installed. (This is how the launcher shows the search widget).
+ */
+ public static final String EXTRA_CUSTOM_INFO = "customInfo";
+
+ /**
+ * An intent extra to pass to the AppWidget picker containing a {@link java.util.List} of
+ * {@link android.os.Bundle} objects to mix in to the list of AppWidgets that are
+ * installed. It will be added to the extras object on the {@link android.content.Intent}
+ * that is returned from the picker activity.
+ *
+ * {@more}
+ */
+ public static final String EXTRA_CUSTOM_EXTRAS = "customExtras";
+
+ /**
* A sentiel value that the AppWidget manager will never return as a appWidgetId.
*/
public static final int INVALID_APPWIDGET_ID = 0;