summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-06-26 16:38:51 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-06-26 16:38:51 -0700
commita1590586e4c02e50d14cc99018be2c419f5a07b9 (patch)
tree4f10aa66cd1090cd8a5ace7f6db5199889e2a062 /core
parent3059924953dafdd94dce65d8be42e98fcde305b8 (diff)
parent74d909565beece0049ab45b2def48c792aa1bb3d (diff)
downloadframeworks_base-a1590586e4c02e50d14cc99018be2c419f5a07b9.zip
frameworks_base-a1590586e4c02e50d14cc99018be2c419f5a07b9.tar.gz
frameworks_base-a1590586e4c02e50d14cc99018be2c419f5a07b9.tar.bz2
Merge change 5578 into donut
* changes: Add new EXTRA_POST_DATA extra key for use in VIEW intents to Browser. In a followup change, Grace will need to remove EXTRA_APPEND_LOCATION as we are replacing that with this.
Diffstat (limited to 'core')
-rw-r--r--core/java/android/provider/Browser.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/java/android/provider/Browser.java b/core/java/android/provider/Browser.java
index 789fdff..1ba5e25 100644
--- a/core/java/android/provider/Browser.java
+++ b/core/java/android/provider/Browser.java
@@ -91,6 +91,17 @@ public class Browser {
*/
public static final String EXTRA_APPEND_LOCATION = "com.android.browser.append_location";
+ /**
+ * The name of the extra data in the VIEW intent. The data is in the format of
+ * a byte array.
+ * <p>
+ * Any value sent here will be passed in the http request to the provided url as post data.
+ * <p>
+ * pending api approval
+ * @hide
+ */
+ public static final String EXTRA_POST_DATA = "com.android.browser.post_data";
+
/* if you change column order you must also change indices
below */
public static final String[] HISTORY_PROJECTION = new String[] {