commit | 95bc8d70679df34e6f0da86361633f28e33e2317 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Wed Jun 09 13:45:24 2021 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Wed Jun 09 19:28:16 2021 +0900 |
tree | 47f288312e53dc32bd4c00310f7bcc04f3a4680a | |
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