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

Commit 38015f36 authored by Bjorn Bringert's avatar Bjorn Bringert
Browse files

Make SearchManager.getGlobalSearchActivity() public but hidden

Launcher/Launcher2 will need this to find the search appwidget
provider.

Change-Id: I2789ea5a11f168126d798a763983752442a6a80b
parent f6fff20a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1838,8 +1838,10 @@ public class SearchManager
     *
     * TODO: Doing this every time we start global search is inefficient. Will fix that once
     * we have settled on the right mechanism for finding the global search activity.
     *
     * @hide
     */
    private ComponentName getGlobalSearchActivity() {
    public ComponentName getGlobalSearchActivity() {
        Intent intent = new Intent(INTENT_ACTION_GLOBAL_SEARCH);
        PackageManager pm = mContext.getPackageManager();
        List<ResolveInfo> activities =