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

Commit 40d7098b authored by 1's avatar 1
Browse files

Update EXTRA_CHOOSER_MODIFY_SHARE_ACTION to use ChooserAction

This allows the app to control the string for this bit of UI (instead of
relying on the system to have a description that applies to all apps),
based upon 1p feedback.

See CTS test added in this topic.

Bug: 272008339
Test: atest CtsSharesheetDeviceTest
Change-Id: Ibe20d998cedd6e56dd14a45cae2b1f17cc2cf65d
parent 33960890
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -5920,9 +5920,8 @@ public class Intent implements Parcelable, Cloneable {
    /**
     * Optional argument to be used with {@link #ACTION_CHOOSER}.
     * A {@link android.app.PendingIntent} to be sent when the user wants to modify the content that
     * they're sharing. This can be used to allow the user to return to the source app to, for
     * example, select different media.
     * A {@link ChooserAction} to allow the user to modify what is being shared in some way. This
     * may be integrated into the content preview on sharesheets that have a preview UI.
     */
    public static final String EXTRA_CHOOSER_MODIFY_SHARE_ACTION =
            "android.intent.extra.CHOOSER_MODIFY_SHARE_ACTION";