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

Commit 88bfff32 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix "Set as Default" error in ResolverActivity"

parents 818f433f 1dcb9f3d
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -115,14 +115,6 @@ public class ResolverListController {
                flags |= PackageManager.MATCH_INSTANT;
            }
            final List<ResolveInfo> infos = mpm.queryIntentActivities(intent, flags);
            // Remove any activities that are not exported.
            int totalSize = infos.size();
            for (int j = totalSize - 1; j >= 0 ; j--) {
                ResolveInfo info = infos.get(j);
                if (info.activityInfo != null && !info.activityInfo.exported) {
                    infos.remove(j);
                }
            }
            if (infos != null) {
                if (resolvedComponents == null) {
                    resolvedComponents = new ArrayList<>();