Merge "Add API for apps to check if they are the network owner" am: 584869a699 am: 4a9782699d am: c0e65d1aaf

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);