Stop using PackageManagerInternal in PermissionMonitor
- Replace the PackageManagerInternal#getPackageList() with receiving PACKAGE_{ADDED|REMOVED} intent. - Also remove the onPackageChanged method because the traffaic permissions(INTERNET, UPDATE_DEVICE_STATS) are not changed after package changed(Disable or enable package). Bug: 176788468 Test: atest FrameworksNetTests Change-Id: I5505d1c77db66a7e65fc336ea0e99846e78c6b36
Loading
Please register or sign in to comment