update setCategories javadoc to include info of its usage in sharing shortcuts

Change-Id: Ia300b3954541e5c17519ea8cdc798b6148c27925
This commit is contained in:
Aaron Labiaga
2020-10-28 19:25:50 +00:00
parent 424427a8d1
commit 2360b185a7

View File

@@ -1214,9 +1214,10 @@ public final class ShortcutInfo implements Parcelable {
/**
* 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.
* <li>Launcher apps may use this information to categorize shortcuts
* <li> Used by the system to associate a published Sharing Shortcut with supported
* mimeTypes. Required for published Sharing Shortcuts with a matching category
* declared in share targets, defined in the app's manifest linked shortcuts xml file.
* </ul>
*
* @see #SHORTCUT_CATEGORY_CONVERSATION