a597972cea8fac9dfa305e347bb78647d8585a6b
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%