Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a1590586 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

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.
parents 30599249 74d90956
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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[] {