Fix app ops details not displaying permissions under certain conditions.

If there's a permission that is not granted, the loop is aborted instead
of just skipping said permission.

Change-Id: Icca567ebdd818f40ad6619f258c77590074d1deb
This commit is contained in:
Danny Baumann
2013-08-05 14:28:58 +02:00
parent ca1b745824
commit 67e72d9e8a

View File

@@ -525,7 +525,7 @@ public class AppOpsState {
& PackageInfo.REQUESTED_PERMISSION_GRANTED) == 0) {
if (DEBUG) Log.d(TAG, "Pkg " + appInfo.packageName + " perm "
+ appInfo.requestedPermissions[j] + " not granted; skipping");
break;
continue;
}
}
if (DEBUG) Log.d(TAG, "Pkg " + appInfo.packageName + ": requested perm "