diff options
| author | paulhu <paulhu@google.com> | 2021-08-30 21:49:55 +0800 |
|---|---|---|
| committer | paulhu <paulhu@google.com> | 2021-09-07 09:46:23 +0800 |
| commit | 941fa70744120bde017ffc3f91c69e02be946dc1 (patch) | |
| tree | d34b392398de8d69c8fe0aeed51d6e555086e3e1 /tests/common/java/android/net/NetworkCapabilitiesTest.java | |
| parent | b7dd7a3f4b7e268b389f5d38fe97d0db8ac5cdf4 (diff) | |
Adjust some behaviors on PermissionMonitorTest
- This is a test only change.
- Remove calling startMonitoring() in setup() because this method
should be called only once, so each test needs to call
startMonitoring() if the testing function is running on it.
- Return empty list instead of null when getting installed
pacakges in setup(). This can help test to have default user
MOCK_USER1 when they call startMonitoring().
Bug: 192431153
Test: atests FrameworksNetTests
Change-Id: Id2ffb056b378873c3ba6a8bb31b7dedb56ad6d46
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions
