commit | ae32c54d084c11f1391cb51822e2ab3197048ce9 | [log] [tgz] |
---|---|---|
author | ThiƩbaud Weksteen <tweek@google.com> | Fri Apr 08 13:14:59 2022 +1000 |
committer | ThiƩbaud Weksteen <tweek@google.com> | Thu May 26 15:06:46 2022 +1000 |
tree | ad3cc65b7291b32ca35aa2a82dc3a7092e97e6db | |
parent | a489f5d7ba40b5c2d6f68890ff5d54846ea93bfd [diff] |
Migrate BatteryStats to @EnforcePermission notePackageInstalled and notePackageUninstalled are also not part of the AIDL service, but called directly by system_server. setChargerAcOnline, setBatteryLevel, unplugBattery, resetBattery and suspendBatteryInput permission checks were done in the internal service. Move the permission check closer to the security boundary. Bug: 220214993 Bug: 228397545 Test: m Change-Id: I97b41a67e1841a39b5be3ffbbe306718297e2665