commit | 8cbf10184af4c6af65fda4b329eb3fa03b55d68b | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Wed Mar 10 01:49:14 2021 +0000 |
committer | Hai Zhang <zhanghai@google.com> | Tue Mar 16 14:15:19 2021 -0700 |
tree | bf5ccfdafbedb5c08ac6a3d537af67fb758b96dd | |
parent | 6681fd3077cbf014211e2555c43eeba691e5140f [diff] |
Add CTS testing for permission usage info. We can utilize LocationManager.addTestProvider() to add our test app as a location provider on S+, but that doesn't work on R and we have to assumeTrue() that such a location provider exists before we continue the test. Bug: 182204957 Test: atest PermissionUsageInfoTest Merged-In: I34588bec44951821bf42f24538eade7f02d973dd Change-Id: I34588bec44951821bf42f24538eade7f02d973dd