Add a cts test for PermissionMonitor security problem

Add a cts test to check whether app can have netd sytem
permission even the app didn't grant the
CONNECTIVITY_USE_RESTRICTED_NETWORKS permission.

Bug: 144679405
Test: atest android.net.cts.ConnectivityManagerTest
Change-Id: I2c717a11bda43db166a55d343eb752ab45947fe8
Merged-In: I2c717a11bda43db166a55d343eb752ab45947fe8
(cherry picked from commit 1bc6b39789dfc836fdb30d45914b0ba43736a87b, ag/10285567)
2 files changed
tree: ebf97741765807e61bfc57831a6690fe4cf0e6ff
  1. tests/