Loading core/java/com/android/internal/app/ResolverListController.java +0 −8 Original line number Diff line number Diff line Loading @@ -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<>(); Loading Loading
core/java/com/android/internal/app/ResolverListController.java +0 −8 Original line number Diff line number Diff line Loading @@ -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<>(); Loading