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

Commit 4088b523 authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

Address internal comments: Pointer icon refactor for mouse

Bug: 293587049
Test: atest inputflinger_tests
Change-Id: Ib917c0f6b3f4c6a61a730e2af06081f4d8747082
parent 6a2ce949
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -329,7 +329,7 @@ public:
    TouchAffineTransformation getTouchAffineTransformation(JNIEnv* env, jfloatArray matrixArr);
    void notifyStylusGestureStarted(int32_t deviceId, nsecs_t eventTime) override;
    bool isInputMethodConnectionActive() override;
    std::optional<DisplayViewport> getViewportForPointerDevice(
    std::optional<DisplayViewport> getPointerViewportForAssociatedDisplay(
            int32_t associatedDisplayId) override;

    /* --- InputDispatcherPolicyInterface implementation --- */
@@ -1395,7 +1395,7 @@ bool NativeInputManager::isInputMethodConnectionActive() {
    return result;
}

std::optional<DisplayViewport> NativeInputManager::getViewportForPointerDevice(
std::optional<DisplayViewport> NativeInputManager::getPointerViewportForAssociatedDisplay(
        int32_t associatedDisplayId) {
    return mInputManager->getChoreographer().getViewportForPointerDevice(associatedDisplayId);
}