From 74d909565beece0049ab45b2def48c792aa1bb3d Mon Sep 17 00:00:00 2001 From: Mike LeBeau Date: Fri, 26 Jun 2009 16:02:13 -0700 Subject: 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. --- core/java/android/provider/Browser.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/core/java/android/provider/Browser.java b/core/java/android/provider/Browser.java index 789fdff5140a..1ba5e25e1d54 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. + *

+ * Any value sent here will be passed in the http request to the provided url as post data. + *

+ * 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[] { -- cgit v1.2.3-59-g8ed1b