Merge "Use onBootPhase for PowerManagerService bring-up"
This commit is contained in:
committed by
Android (Google) Code Review
commit
99b6c0fbd7
@@ -2707,15 +2707,6 @@ public final class SystemServer implements Dumpable {
|
||||
systemTheme.rebase();
|
||||
}
|
||||
|
||||
t.traceBegin("MakePowerManagerServiceReady");
|
||||
try {
|
||||
// TODO: use boot phase
|
||||
mPowerManagerService.systemReady();
|
||||
} catch (Throwable e) {
|
||||
reportWtf("making Power Manager Service ready", e);
|
||||
}
|
||||
t.traceEnd();
|
||||
|
||||
// Permission policy service
|
||||
t.traceBegin("StartPermissionPolicyService");
|
||||
mSystemServiceManager.startService(PermissionPolicyService.class);
|
||||
|
||||
Reference in New Issue
Block a user