Merge "Use outerContext in the InputManager service" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7700575a34
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user