Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5696a5c authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

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
parent 817d206f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -28,10 +28,13 @@ cc_library_shared {
        "libgui",
        "libui",
        "libinput",
        "libinputflinger",
        "libnativewindow",
    ],

    header_libs: [
        "libinputflinger_headers",
    ],

    include_dirs: ["frameworks/native/services"],

    cflags: [
+1 −1
Original line number Diff line number Diff line
@@ -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>
+1 −0
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@ cc_defaults {
        "libui",
        "libinput",
        "libinputflinger",
        "libinputflinger_base",
        "libinputservice",
        "libschedulerservicehidl",
        "libsensorservice",
+1 −2
Original line number Diff line number Diff line
@@ -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() {