commit | e84e5fa27093c2172341969cd73161a1782fced4 | [log] [tgz] |
---|---|---|
author | paulhu <paulhu@google.com> | Fri Mar 05 15:40:11 2021 +0800 |
committer | Paul Hu <paulhu@google.com> | Thu Mar 11 07:16:11 2021 +0000 |
tree | fe4f5b83b0ff2fd741a4f7c24e650d1b21aabd86 | |
parent | e93b5d9bf3b9ebe4adb896b7e78e287cb5de78f7 [diff] |
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