diff options
| author | 2020-10-27 15:39:29 +0000 | |
|---|---|---|
| committer | 2020-10-27 15:39:37 +0000 | |
| commit | f77a5f4467aac9aba904b7811085099a5ece9f4b (patch) | |
| tree | 5f0791c649ccab823a6cf8ac2054339d41b83a81 | |
| parent | 34cba818505d7e1f255debae40fee3b0492b4db2 (diff) | |
Add additional doc to setCategories to include info of field in share targets
Change-Id: Ifd899760c22490cb8d504d4cc84c7f89551dceac
| -rw-r--r-- | core/java/android/content/pm/ShortcutInfo.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/java/android/content/pm/ShortcutInfo.java b/core/java/android/content/pm/ShortcutInfo.java index 7ed803f78260..5855de1109bd 100644 --- a/core/java/android/content/pm/ShortcutInfo.java +++ b/core/java/android/content/pm/ShortcutInfo.java @@ -1212,8 +1212,12 @@ public final class ShortcutInfo implements Parcelable { } /** - * Sets categories for a shortcut. Launcher apps may use this information to - * categorize shortcuts. + * Sets categories for a shortcut. + * <ul> + * <li>Launcher apps may use this information to categorize shortcuts + * <li>Used to filter shortcuts that can handle share intents or actions + * and required for shortcuts that are meant to be used as share targets. + * </ul> * * @see #SHORTCUT_CATEGORY_CONVERSATION * @see ShortcutInfo#getCategories() |