Merge "InputFlinger Split: Use libinputreader in InputManagerService"

This commit is contained in:
TreeHugger Robot
2018-11-21 18:21:05 +00:00
committed by Android (Google) Code Review
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

@@ -341,8 +341,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() {