Merge "Correct the logic in NetworkCapabilitiesTest" am: 457f91decf am: 885aad17b5 am: 008ba7a698 am: 063d3b25fc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1649297 Change-Id: If8264d339b93311240fce3875b41592efa336ad1
This commit is contained in:
@@ -313,7 +313,8 @@ public class NetworkCapabilitiesTest {
|
||||
if (isAtLeastS()) {
|
||||
netCap.setSubIds(Set.of(TEST_SUBID1, TEST_SUBID2));
|
||||
netCap.setUids(uids);
|
||||
} else if (isAtLeastR()) {
|
||||
}
|
||||
if (isAtLeastR()) {
|
||||
netCap.setOwnerUid(123);
|
||||
netCap.setAdministratorUids(new int[] {5, 11});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user