commit | e5696a5ccc736bc636f31deceee622cc21700a21 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Wed Nov 14 19:55:21 2018 -0800 |
committer | Prabir Pradhan <prabirmsp@google.com> | Mon Nov 19 18:10:48 2018 -0800 |
tree | efe93722f89bdff402d17031830bb313276fcfcb | |
parent | 817d206fff34f751f550b66ea59bb5fd561d6bba [diff] [blame] |
InputFlinger Split: Use libinputreader in InputManagerService This changes native InputManagerService to use the new backend library for inputflinger: libinputreader. Bug: 119264687 Test: manual: Build, run, and test input (touch, mouse) Change-Id: I619492d5492cd8444d7c2cc7af9717c19c938256
diff --git a/services/core/jni/com_android_server_input_InputManagerService.cpp b/services/core/jni/com_android_server_input_InputManagerService.cpp index 3943dba..ba6f39f 100644 --- a/services/core/jni/com_android_server_input_InputManagerService.cpp +++ b/services/core/jni/com_android_server_input_InputManagerService.cpp
@@ -348,8 +348,7 @@ } mInteractive = true; - sp<EventHub> eventHub = new EventHub(); - mInputManager = new InputManager(eventHub, this, this); + mInputManager = new InputManager(this, this); } NativeInputManager::~NativeInputManager() {