Add app ops for wake locks.
Currently only supports auditing, not disabling. Change-Id: Ie85f02c29b490d96e073f54d59e165d48c7c00c9
This commit is contained in:
@@ -286,7 +286,8 @@ class ServerThread {
|
||||
// only initialize the power service after we have started the
|
||||
// lights service, content providers and the battery service.
|
||||
power.init(context, lights, ActivityManagerService.self(), battery,
|
||||
BatteryStatsService.getService(), display);
|
||||
BatteryStatsService.getService(),
|
||||
ActivityManagerService.self().getAppOpsService(), display);
|
||||
|
||||
Slog.i(TAG, "Alarm Manager");
|
||||
alarm = new AlarmManagerService(context);
|
||||
|
||||
Reference in New Issue
Block a user