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:
@@ -28,10 +28,13 @@ cc_library_shared {
|
||||
"libgui",
|
||||
"libui",
|
||||
"libinput",
|
||||
"libinputflinger",
|
||||
"libnativewindow",
|
||||
],
|
||||
|
||||
header_libs: [
|
||||
"libinputflinger_headers",
|
||||
],
|
||||
|
||||
include_dirs: ["frameworks/native/services"],
|
||||
|
||||
cflags: [
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -83,6 +83,7 @@ cc_defaults {
|
||||
"libui",
|
||||
"libinput",
|
||||
"libinputflinger",
|
||||
"libinputflinger_base",
|
||||
"libinputservice",
|
||||
"libschedulerservicehidl",
|
||||
"libsensorservice",
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user