Loading core/java/android/content/Intent.java +2 −2 Original line number Diff line number Diff line Loading @@ -5737,7 +5737,7 @@ public class Intent implements Parcelable, Cloneable { * @hide */ public static final String EXTRA_CHOOSER_CUSTOM_ACTIONS = "android.intent.extra.EXTRA_CHOOSER_CUSTOM_ACTIONS"; "android.intent.extra.CHOOSER_CUSTOM_ACTIONS"; /** * Optional argument to be used with {@link #ACTION_CHOOSER}. Loading @@ -5748,7 +5748,7 @@ public class Intent implements Parcelable, Cloneable { * @hide */ public static final String EXTRA_CHOOSER_PAYLOAD_RESELECTION_ACTION = "android.intent.extra.EXTRA_CHOOSER_PAYLOAD_RESELECTION_ACTION"; "android.intent.extra.CHOOSER_PAYLOAD_RESELECTION_ACTION"; /** * An {@code ArrayList} of {@code String} annotations describing content for Loading core/java/android/service/chooser/ChooserAction.java +4 −3 Original line number Diff line number Diff line Loading @@ -27,10 +27,9 @@ import java.util.Objects; /** * A ChooserAction is an app-defined action that can be provided to the Android Sharesheet to * be shown to the user when {@link android.content.Intent.ACTION_CHOOSER} is invoked. * be shown to the user when {@link android.content.Intent#ACTION_CHOOSER} is invoked. * * @see android.content.Intent.EXTRA_CHOOSER_CUSTOM_ACTIONS * @see android.content.Intent.EXTRA_CHOOSER_PAYLOAD_RESELECTION_ACTION * @see android.content.Intent#EXTRA_CHOOSER_CUSTOM_ACTIONS * @hide */ public final class ChooserAction implements Parcelable { Loading Loading @@ -88,6 +87,7 @@ public final class ChooserAction implements Parcelable { return "ChooserAction {" + "label=" + mLabel + ", intent=" + mAction + "}"; } @NonNull public static final Parcelable.Creator<ChooserAction> CREATOR = new Creator<ChooserAction>() { @Override Loading Loading @@ -137,6 +137,7 @@ public final class ChooserAction implements Parcelable { * object. * @return the built action */ @NonNull public ChooserAction build() { return new ChooserAction(mIcon, mLabel, mAction); } Loading Loading
core/java/android/content/Intent.java +2 −2 Original line number Diff line number Diff line Loading @@ -5737,7 +5737,7 @@ public class Intent implements Parcelable, Cloneable { * @hide */ public static final String EXTRA_CHOOSER_CUSTOM_ACTIONS = "android.intent.extra.EXTRA_CHOOSER_CUSTOM_ACTIONS"; "android.intent.extra.CHOOSER_CUSTOM_ACTIONS"; /** * Optional argument to be used with {@link #ACTION_CHOOSER}. Loading @@ -5748,7 +5748,7 @@ public class Intent implements Parcelable, Cloneable { * @hide */ public static final String EXTRA_CHOOSER_PAYLOAD_RESELECTION_ACTION = "android.intent.extra.EXTRA_CHOOSER_PAYLOAD_RESELECTION_ACTION"; "android.intent.extra.CHOOSER_PAYLOAD_RESELECTION_ACTION"; /** * An {@code ArrayList} of {@code String} annotations describing content for Loading
core/java/android/service/chooser/ChooserAction.java +4 −3 Original line number Diff line number Diff line Loading @@ -27,10 +27,9 @@ import java.util.Objects; /** * A ChooserAction is an app-defined action that can be provided to the Android Sharesheet to * be shown to the user when {@link android.content.Intent.ACTION_CHOOSER} is invoked. * be shown to the user when {@link android.content.Intent#ACTION_CHOOSER} is invoked. * * @see android.content.Intent.EXTRA_CHOOSER_CUSTOM_ACTIONS * @see android.content.Intent.EXTRA_CHOOSER_PAYLOAD_RESELECTION_ACTION * @see android.content.Intent#EXTRA_CHOOSER_CUSTOM_ACTIONS * @hide */ public final class ChooserAction implements Parcelable { Loading Loading @@ -88,6 +87,7 @@ public final class ChooserAction implements Parcelable { return "ChooserAction {" + "label=" + mLabel + ", intent=" + mAction + "}"; } @NonNull public static final Parcelable.Creator<ChooserAction> CREATOR = new Creator<ChooserAction>() { @Override Loading Loading @@ -137,6 +137,7 @@ public final class ChooserAction implements Parcelable { * object. * @return the built action */ @NonNull public ChooserAction build() { return new ChooserAction(mIcon, mLabel, mAction); } Loading