Use WindowProcessController configuration for process
This patch is to replace the process configuration map in WindowManagerService with the map in ActivityTaskManagerService. To do so, we pass the ActivityTaskManagerService instance to WindowManaserService. Adjust test base accordingly. Test: WmTests Test: go/wm-smoke Bug: 117877476 Bug: 113253755 Change-Id: Ica93c3ad402e1cab682466fd16a8226176f9bae8
This commit is contained in:
@@ -925,7 +925,7 @@ public final class SystemServer {
|
||||
ConcurrentUtils.waitForFutureNoInterrupt(mSensorServiceStart, START_SENSOR_SERVICE);
|
||||
mSensorServiceStart = null;
|
||||
wm = WindowManagerService.main(context, inputManager, !mFirstBoot, mOnlyCore,
|
||||
new PhoneWindowManager(), mWindowManagerGlobalLock);
|
||||
new PhoneWindowManager(), mActivityManagerService.mActivityTaskManager);
|
||||
ServiceManager.addService(Context.WINDOW_SERVICE, wm, /* allowIsolated= */ false,
|
||||
DUMP_FLAG_PRIORITY_CRITICAL | DUMP_FLAG_PROTO);
|
||||
ServiceManager.addService(Context.INPUT_SERVICE, inputManager,
|
||||
|
||||
Reference in New Issue
Block a user