Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ae32c54d authored by Thiébaud Weksteen's avatar Thiébaud Weksteen
Browse files

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
parent a489f5d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment