diff options
| author | Remi NGUYEN VAN <reminv@google.com> | 2021-06-09 13:45:24 +0900 |
|---|---|---|
| committer | Remi NGUYEN VAN <reminv@google.com> | 2021-06-09 19:28:16 +0900 |
| commit | 95bc8d70679df34e6f0da86361633f28e33e2317 (patch) | |
| tree | 47f288312e53dc32bd4c00310f7bcc04f3a4680a /tests/unit/java/android/net/KeepalivePacketDataUtilTest.java | |
| parent | f900c45afa7a1ea5e805541dcfdee7269199e0ad (diff) | |
Use shell permission to query current user
Use shell permissions to obtain CREATE_USERS to call
ActivityManager.getCurrentUser in ConnectivityServiceTest.
This is necessary to allow the tests to run in coverage tests without
the platform certificate.
Bug: 187935317
Test: atest FrameworksNetTests:ConnectivityServiceTest
Change-Id: I5a56ffab4820d351dcdb132046698cd0d3b8bdb1
Diffstat (limited to 'tests/unit/java/android/net/KeepalivePacketDataUtilTest.java')
0 files changed, 0 insertions, 0 deletions
