aa639e4ce8c3ff2e91e65bd96b56052c5ccd6c5d
The current test we have for a package changing TrafficController permissions (i.e., INTERNET or UPDATE_DEVICE_STATS permissions) is not realistic. This is because the test simulates the update by removing and adding the package. But TrafficController permissions are not driven by broadcasts, they are driven by PackageListObserver, and when an app is updated, PackageListObserver does not see a remove and and add, but a single change event. Add a new test for this. Bug: 137864893 Test: new unit test added Change-Id: I691b928f57c79c19dfb6ddb01983d55ef305c472
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%