Merge "Use outerContext in the InputManager service" into udc-dev

This commit is contained in:
Josep del Río
2023-03-02 21:58:04 +00:00
committed by Android (Google) Code Review

View File

@@ -509,7 +509,7 @@ public final class SystemServiceRegistry {
new ServiceFetcher<InputManager>() {
@Override
public InputManager getService(ContextImpl ctx) {
return InputManager.getInstance(ctx);
return InputManager.getInstance(ctx.getOuterContext());
}});
registerService(Context.DISPLAY_SERVICE, DisplayManager.class,