paulhu
92f128c51c
Force only system uid can set uids allowed on restricted networks
- Check whether calling UID/PID is system_server.
- For CTS test, enforce NETWORK_SETTINGS permission otherwise if
it's a debug build.
Bug: 175199465
Test: atest FrameworksNetTests
Test: atest ConnectivityManagerTest#testUidsAllowedOnRestrictedNetworks
Merged-In: I175a831671d3e52460d28203b09f6c0dda56b61c
Change-Id: I175a831671d3e52460d28203b09f6c0dda56b61c
2021-07-02 20:04:50 +08:00
..
2021-04-01 22:59:02 +00:00
2021-06-08 00:17:37 +00:00
2021-06-01 18:40:06 +09:00
2021-07-02 20:04:50 +08:00
2021-06-29 22:31:05 +01:00
2021-03-20 22:51:35 +09:00
2021-03-20 22:51:35 +09:00
2021-06-08 15:23:40 +09:00