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

Commit 2acba2f3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Move isPreventingTouchpadTaps state to NativeInputManager" into main

parents c7077473 899e4b9d
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -382,6 +382,7 @@ public:
            PointerControllerInterface::ControllerType type) override;
            PointerControllerInterface::ControllerType type) override;
    void notifyPointerDisplayIdChanged(ui::LogicalDisplayId displayId,
    void notifyPointerDisplayIdChanged(ui::LogicalDisplayId displayId,
                                       const FloatPoint& position) override;
                                       const FloatPoint& position) override;
    void notifyMouseCursorFadedOnTyping() override;


    /* --- InputFilterPolicyInterface implementation --- */
    /* --- InputFilterPolicyInterface implementation --- */
    void notifyStickyModifierStateChanged(uint32_t modifierState,
    void notifyStickyModifierStateChanged(uint32_t modifierState,
@@ -788,6 +789,10 @@ void NativeInputManager::notifyPointerDisplayIdChanged(ui::LogicalDisplayId poin
            InputReaderConfiguration::Change::DISPLAY_INFO);
            InputReaderConfiguration::Change::DISPLAY_INFO);
}
}


void NativeInputManager::notifyMouseCursorFadedOnTyping() {
    mInputManager->getReader().notifyMouseCursorFadedOnTyping();
}

void NativeInputManager::notifyStickyModifierStateChanged(uint32_t modifierState,
void NativeInputManager::notifyStickyModifierStateChanged(uint32_t modifierState,
                                                          uint32_t lockedModifierState) {
                                                          uint32_t lockedModifierState) {
    JNIEnv* env = jniEnv();
    JNIEnv* env = jniEnv();