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
Loading
Please register or sign in to comment