summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Matt Casey <mrcasey@google.com> 2023-02-05 02:51:22 +0000
committer Matt Casey <mrcasey@google.com> 2023-02-15 20:45:41 +0000
commit01011daeff9cdea030c362af0294dba9703c0c53 (patch)
tree5a02d7484dd3cb232db365ef8b0da9c86a153e02
parenteb902def7f61d8f7e0b9980349e21b25caf20c02 (diff)
EXTRA_CHOOSER_PAYLOAD_RESELECTION_ACTION -> EXTRA_CHOOSER_MODIFY_SHARE_ACTION
Functionally the same as before, just a slight change in semantics: instead of focusing solely on reselection, broaden to a 'modify share' affordance. Bug: 267870268 Test: Build Change-Id: Ida05cc4efb8d5c95ab783a7fd22a7008bf77aca2 Merged-In: Ida05cc4efb8d5c95ab783a7fd22a7008bf77aca2 (cherry picked from commit 651a576c12961950a5c77fd551b753f79d5aa7a1)
-rw-r--r--core/java/android/content/Intent.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index 3daee1fdd01b..809dc3c41188 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -5741,14 +5741,13 @@ 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 do payload reselection
- * in the sharesheet.
- * A reselection action allows the user to return to the source app to change the content being
- * shared.
+ * 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.
* @hide
*/
- public static final String EXTRA_CHOOSER_PAYLOAD_RESELECTION_ACTION =
- "android.intent.extra.CHOOSER_PAYLOAD_RESELECTION_ACTION";
+ public static final String EXTRA_CHOOSER_MODIFY_SHARE_ACTION =
+ "android.intent.extra.CHOOSER_MODIFY_SHARE_ACTION";
/**
* An {@code ArrayList} of {@code String} annotations describing content for