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

This commit is contained in:
Aaron Labiaga
2020-10-29 19:42:16 +00:00
committed by Android (Google) Code Review

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