diff options
author | Clara Bayarri <clarabayarri@google.com> | 2015-05-21 17:50:08 +0100 |
---|---|---|
committer | Clara Bayarri <clarabayarri@google.com> | 2015-05-21 17:58:27 +0100 |
commit | 92c8e6f4a32c99bbc348774ebaaa0d6daf695405 (patch) | |
tree | c168367258427a9cf29ba8094157f6fa19593b78 /core/java/android/content | |
parent | d457c71eca2a0522793376a873dcdad318a2f798 (diff) | |
download | frameworks_base-92c8e6f4a32c99bbc348774ebaaa0d6daf695405.zip frameworks_base-92c8e6f4a32c99bbc348774ebaaa0d6daf695405.tar.gz frameworks_base-92c8e6f4a32c99bbc348774ebaaa0d6daf695405.tar.bz2 |
Update the PROCESS_TEXT action javadoc to include types
Bug: 21343771
Change-Id: If1d64ba121555863022cecc7a7b3d94c866e8715
Diffstat (limited to 'core/java/android/content')
-rw-r--r-- | core/java/android/content/Intent.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index 2db623b..7d9cdc7 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -2919,11 +2919,13 @@ public class Intent implements Parcelable, Cloneable { @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_PROCESS_TEXT = "android.intent.action.PROCESS_TEXT"; /** - * The name of the extra used to define the text to be processed. + * The name of the extra used to define the text to be processed, as a + * CharSequence. Note that this may be a styled CharSequence, so you must use + * {@link Bundle#getCharSequence(String) Bundle.getCharSequence()} to retrieve it. */ public static final String EXTRA_PROCESS_TEXT = "android.intent.extra.PROCESS_TEXT"; /** - * The name of the extra used to define if the processed text will be used as read-only. + * The name of the boolean extra used to define if the processed text will be used as read-only. */ public static final String EXTRA_PROCESS_TEXT_READONLY = "android.intent.extra.PROCESS_TEXT_READONLY"; |