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

Commit 02c89944 authored by Fabrice Di Meglio's avatar Fabrice Di Meglio Committed by Android (Google) Code Review
Browse files

Merge "Add user selectable Default Browser feature - part 2" into mnc-dev

parents fb4c4de8 afa7afda
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -56,7 +56,8 @@ public class DefaultBrowserPreference extends AppListPreference {
        intent.setData(Uri.parse("http:"));

        // Resolve that intent and check that the handleAllWebDataURI boolean is set
        List<ResolveInfo> list = mPm.queryIntentActivitiesAsUser(intent, 0, UserHandle.myUserId());
        List<ResolveInfo> list = mPm.queryIntentActivitiesAsUser(intent, PackageManager.MATCH_ALL,
                UserHandle.myUserId());

        final int count = list.size();
        for (int i=0; i<count; i++) {