Merge "Revert "Correct the logic in NetworkCapabilitiesTest""

This commit is contained in:
Chiachang Wang 2021-03-22 06:26:33 +00:00 • committed by Gerrit Code Review
commit 3f603fae13

View file

@ -329,8 +329,7 @@ public class NetworkCapabilitiesTest {
if (isAtLeastS()) {
netCap.setSubIds(Set.of(TEST_SUBID1, TEST_SUBID2));
netCap.setUids(uids);
}
if (isAtLeastR()) {
} else if (isAtLeastR()) {
netCap.setOwnerUid(123);
netCap.setAdministratorUids(new int[] {5, 11});
}