Merge "Fixed wrong loop variable (AKA: I, Y U NO J?)" into nyc-dev

This commit is contained in:
TreeHugger Robot
2016-04-29 00:11:41 +00:00
committed by Android (Google) Code Review

View File

@@ -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 + ": "