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

Commit 769ebaaa authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by The Android Open Source Project
Browse files

am 5c04841e: Merge change 6912 into donut

Merge commit '5c04841e'

* commit '5c04841e':
  JavaDoc for SearchableInfo.getActivityMetaData()
parents e3ea6636 5c04841e
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -442,6 +442,14 @@ public final class SearchableInfo implements Parcelable {
        mActionKeys.put(keyInfo.getKeyCode(), keyInfo);
        mActionKeys.put(keyInfo.getKeyCode(), keyInfo);
    }
    }


    /**
     * Gets search information for the given activity.
     *
     * @param context Context to use for reading activity resources.
     * @param activityInfo Activity to get search information from.
     * @return Search information about the given activity, or {@code null} if
     *         the activity has no or invalid searchability meta-data.
     */
    public static SearchableInfo getActivityMetaData(Context context, ActivityInfo activityInfo) {
    public static SearchableInfo getActivityMetaData(Context context, ActivityInfo activityInfo) {
        // for each component, try to find metadata
        // for each component, try to find metadata
        XmlResourceParser xml = 
        XmlResourceParser xml =