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
This commit is contained in:
Prabir Pradhan
2018-11-14 19:55:21 -08:00
parent 817d206fff
commit e5696a5ccc
4 changed files with 7 additions and 4 deletions

View File

@@ -28,10 +28,13 @@ cc_library_shared {
"libgui",
"libui",
"libinput",
"libinputflinger",
"libnativewindow",
],
header_libs: [
"libinputflinger_headers",
],
include_dirs: ["frameworks/native/services"],
cflags: [

View File

@@ -24,7 +24,7 @@
#include <ui/DisplayInfo.h>
#include <input/Input.h>
#include <inputflinger/PointerControllerInterface.h>
#include <PointerControllerInterface.h>
#include <utils/BitSet.h>
#include <utils/RefBase.h>
#include <utils/Looper.h>

View File

@@ -83,6 +83,7 @@ cc_defaults {
"libui",
"libinput",
"libinputflinger",
"libinputflinger_base",
"libinputservice",
"libschedulerservicehidl",
"libsensorservice",

View File

@@ -348,8 +348,7 @@ NativeInputManager::NativeInputManager(jobject contextObj,
}
mInteractive = true;
sp<EventHub> eventHub = new EventHub();
mInputManager = new InputManager(eventHub, this, this);
mInputManager = new InputManager(this, this);
}
NativeInputManager::~NativeInputManager() {