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

Commit 6ae80c5b authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update Intent#EXTRA_CHOOSER_ADDITIONAL_CONTENT_URI java doc" into main

parents 34e7507d 111ce36c
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -6109,11 +6109,17 @@ public class Intent implements Parcelable, Cloneable {
     * {@link ContentProvider#query(Uri, String[], Bundle, CancellationSignal)}
     * method will contains the original intent Chooser has been launched with under the
     * {@link #EXTRA_INTENT} key as a context for the current sharing session. The returned
     * {@link android.database.Cursor} should contain
     * {@link android.service.chooser.AdditionalContentContract.Columns#URI} column for the item URI
     * and, optionally, {@link AdditionalContentContract.CursorExtraKeys#POSITION} extra that
     * {@link android.database.Cursor} should contain:
     * <ul>
     * <li>{@link android.service.chooser.AdditionalContentContract.Columns#URI} column for the item
     * URI.</li>
     * <li>Optional columns {@link MediaStore.MediaColumns#WIDTH} and
     * {@link MediaStore.MediaColumns#HEIGHT} for the dimensions of the preview image.
     * These columns can also be returned for each {@link #EXTRA_STREAM} item metadata
     * {@link ContentProvider#query(Uri, String[], Bundle, CancellationSignal)} call.</li>
     * <li>Optional {@link AdditionalContentContract.CursorExtraKeys#POSITION} extra that
     * specifies the cursor starting position; the item at this position is expected to match the
     * item specified by {@link #EXTRA_CHOOSER_FOCUSED_ITEM_POSITION}.</p>
     * item specified by {@link #EXTRA_CHOOSER_FOCUSED_ITEM_POSITION}.</li></ul></p>
     *
     * <p>When the user makes a selection change,
     * {@link ContentProvider#call(String, String, Bundle)} method will be invoked with the "method"