Fixed wrong loop variable (AKA: I, Y U NO J?)
BUG: 27366993 BUG: 28451218 Change-Id: I8455ada4194e7fc44ae7448e5cd763d22065fd2e
This commit is contained in:
@@ -465,7 +465,7 @@ public class NetworkPolicyManagerService extends INetworkPolicyManager.Stub {
|
||||
continue;
|
||||
}
|
||||
for (int j = 0; j < numberUsers; j++) {
|
||||
final UserInfo user = users.get(i);
|
||||
final UserInfo user = users.get(j);
|
||||
final int uid = UserHandle.getUid(user.id, app.uid);
|
||||
mDefaultRestrictBackgroundWhitelistUids.append(uid, true);
|
||||
if (LOGD) Slog.d(TAG, "revoked whistelist status for uid " + uid + ": "
|
||||
|
||||
Reference in New Issue
Block a user