Register ART Service with the System Server
This CL causes the System Server to create and load the ART Local Manager. Test: Build and flash Bug: 177273468 Merged-In: I9734160f1cd4fd9fc363b3af50e27ec8973be557 Change-Id: I9734160f1cd4fd9fc363b3af50e27ec8973be557
This commit is contained in:
@@ -118,6 +118,7 @@ java_library {
|
||||
libs: [
|
||||
"android.hidl.manager-V1.0-java",
|
||||
"framework-tethering.stubs.module_lib",
|
||||
"service-art.stubs.system_server",
|
||||
],
|
||||
|
||||
// Uncomment to enable output of certain warnings (deprecated, unchecked)
|
||||
|
||||
@@ -103,6 +103,7 @@ import com.android.internal.util.FrameworkStatsLog;
|
||||
import com.android.internal.widget.ILockSettings;
|
||||
import com.android.server.am.ActivityManagerService;
|
||||
import com.android.server.appbinding.AppBindingService;
|
||||
import com.android.server.art.ArtManagerLocal;
|
||||
import com.android.server.attention.AttentionManagerService;
|
||||
import com.android.server.audio.AudioService;
|
||||
import com.android.server.biometrics.AuthService;
|
||||
@@ -2610,6 +2611,10 @@ public final class SystemServer implements Dumpable {
|
||||
mSystemServiceManager.startService(GAME_MANAGER_SERVICE_CLASS);
|
||||
t.traceEnd();
|
||||
|
||||
t.traceBegin("ArtManagerLocal");
|
||||
LocalManagerRegistry.addManager(ArtManagerLocal.class, new ArtManagerLocal());
|
||||
t.traceEnd();
|
||||
|
||||
t.traceBegin("StartBootPhaseDeviceSpecificServicesReady");
|
||||
mSystemServiceManager.startBootPhase(t, SystemService.PHASE_DEVICE_SPECIFIC_SERVICES_READY);
|
||||
t.traceEnd();
|
||||
|
||||
Reference in New Issue
Block a user