Skip to content

Commit 5e4705a

Browse files
author
Dianne Hackborn
committed
Fix dumb bug.
Change-Id: I5e0dfc0f03677888c22d938013299a8ec4597c69
1 parent 29d6fa9 commit 5e4705a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/content/pm/PackageParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@ private Package parsePackage(
13041304
= PackageParser.SPLIT_PERMISSIONS[is];
13051305
if (pkg.applicationInfo.targetSdkVersion >= spi.targetSdk
13061306
|| !pkg.requestedPermissions.contains(spi.rootPerm)) {
1307-
break;
1307+
continue;
13081308
}
13091309
for (int in=0; in<spi.newPerms.length; in++) {
13101310
final String perm = spi.newPerms[in];

0 commit comments

Comments
 (0)