diff options
| -rw-r--r-- | services/java/com/android/server/SystemServer.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index 9b390db0f705..636be4a359a1 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -1344,6 +1344,13 @@ public final class SystemServer implements Dumpable { mSystemServiceManager.startService(DropBoxManagerService.class); t.traceEnd(); + // Grants default permissions and defines roles + t.traceBegin("StartRoleManagerService"); + LocalManagerRegistry.addManager(RoleServicePlatformHelper.class, + new RoleServicePlatformHelperImpl(mSystemContext)); + mSystemServiceManager.startService(ROLE_SERVICE_CLASS); + t.traceEnd(); + t.traceBegin("StartVibratorManagerService"); mSystemServiceManager.startService(VibratorManagerService.Lifecycle.class); t.traceEnd(); @@ -2060,13 +2067,6 @@ public final class SystemServer implements Dumpable { t.traceEnd(); } - // Grants default permissions and defines roles - t.traceBegin("StartRoleManagerService"); - LocalManagerRegistry.addManager(RoleServicePlatformHelper.class, - new RoleServicePlatformHelperImpl(mSystemContext)); - mSystemServiceManager.startService(ROLE_SERVICE_CLASS); - t.traceEnd(); - // We need to always start this service, regardless of whether the // FEATURE_VOICE_RECOGNIZERS feature is set, because it needs to take care // of initializing various settings. It will internally modify its behavior |