Stub out display manager service implementation.
Reverting to the previous stub as the display adapter registration and the logical to physical mapping is not at all what we are going to need moving forward. Fixed up the service initialization order so that the display manager service has a context from the start. Change-Id: I717f2f1099c7a77180ef207c371ec8329258850a
This commit is contained in:
@@ -155,13 +155,12 @@ class ServerThread extends Thread {
|
||||
power = new PowerManagerService();
|
||||
ServiceManager.addService(Context.POWER_SERVICE, power);
|
||||
|
||||
Slog.i(TAG, "Display Manager");
|
||||
display = new DisplayManagerService();
|
||||
ServiceManager.addService(Context.DISPLAY_SERVICE, display, true);
|
||||
|
||||
Slog.i(TAG, "Activity Manager");
|
||||
context = ActivityManagerService.main(factoryTest);
|
||||
display.setContext(context);
|
||||
|
||||
Slog.i(TAG, "Display Manager");
|
||||
display = new DisplayManagerService(context);
|
||||
ServiceManager.addService(Context.DISPLAY_SERVICE, display, true);
|
||||
|
||||
Slog.i(TAG, "Telephony Registry");
|
||||
ServiceManager.addService("telephony.registry", new TelephonyRegistry(context));
|
||||
|
||||
Reference in New Issue
Block a user