Merge "Add API for apps to check if they are the network owner" am: 78433a68ee am: 3836f2f7cb am: 091626b927

Change-Id: Ibe4cc2bd1d588dcbccd83f53ee3da9d067ae85b6
This commit is contained in:
Automerger Merge Worker
2020-01-24 18:47:28 +00:00
4 changed files with 62 additions and 36 deletions

View File

@@ -269,6 +269,7 @@ public class NetworkCapabilitiesTest {
.setUids(uids)
.addCapability(NET_CAPABILITY_EIMS)
.addCapability(NET_CAPABILITY_NOT_METERED);
netCap.setOwnerUid(123);
assertParcelingIsLossless(netCap);
netCap.setSSID(TEST_SSID);
assertParcelSane(netCap, 13);