From 679091849754c60bdde5670495c38493065fd308 Mon Sep 17 00:00:00 2001 From: Grace Kloba Date: Wed, 27 Jan 2010 14:11:13 -0800 Subject: Use a single EXTRA_HEADERS intent. --- api/current.xml | 15 ++------------- core/java/android/provider/Browser.java | 18 +++--------------- 2 files changed, 5 insertions(+), 28 deletions(-) diff --git a/api/current.xml b/api/current.xml index 830238580bec..f73d9da19ee6 100644 --- a/api/current.xml +++ b/api/current.xml @@ -120190,22 +120190,11 @@ visibility="public" > - - - - * The keys will be combined with the values and sent in the HTTP request + * The name of the extra data in the VIEW intent. The data are key/value + * pairs in the format of Bundle. They will be sent in the HTTP request * headers for the provided url. The keys can't be the standard HTTP headers * as they are set by the WebView. The url's schema must be http(s). *

*/ - public static final String EXTRA_HEADERS_KEY = "com.android.browser.headers_key"; - - /** - * The name of the extra data in the VIEW intent. The data is in the format - * of String array. This should be paired with EXTRA_HEADERS_KEY. - *

- * The values will be combined with the keys and sent in the HTTP request - * headers for the provided url. The url's schema must be http(s). - *

- */ - public static final String EXTRA_HEADERS_VALUE = "com.android.browser.headers_value"; + public static final String EXTRA_HEADERS = "com.android.browser.headers"; /* if you change column order you must also change indices below */ -- cgit v1.2.3-59-g8ed1b