Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2360b185 authored by Aaron Labiaga's avatar Aaron Labiaga
Browse files

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

Change-Id: Ia300b3954541e5c17519ea8cdc798b6148c27925
parent 424427a8
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1215,8 +1215,9 @@ 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> 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