Loading core/java/com/android/internal/app/ResolverActivity.java +8 −0 Original line number Diff line number Diff line Loading @@ -1322,6 +1322,14 @@ public class ResolverActivity extends Activity { PackageManager.MATCH_DEFAULT_ONLY | (shouldGetResolvedFilter ? PackageManager.GET_RESOLVED_FILTER : 0) | (shouldGetActivityMetadata ? PackageManager.GET_META_DATA : 0)); // 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 (currentResolveList == null) { currentResolveList = mOrigResolveList = new ArrayList<>(); Loading Loading
core/java/com/android/internal/app/ResolverActivity.java +8 −0 Original line number Diff line number Diff line Loading @@ -1322,6 +1322,14 @@ public class ResolverActivity extends Activity { PackageManager.MATCH_DEFAULT_ONLY | (shouldGetResolvedFilter ? PackageManager.GET_RESOLVED_FILTER : 0) | (shouldGetActivityMetadata ? PackageManager.GET_META_DATA : 0)); // 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 (currentResolveList == null) { currentResolveList = mOrigResolveList = new ArrayList<>(); Loading