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

Commit 615f7eb7 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Change the type of displayId to int32_t" into main am: c2d55d91 am: 9b5668b9

parents 1333fb91 9b5668b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4848,7 +4848,7 @@ InputEventInjectionResult InputDispatcher::injectInputEvent(const InputEvent* ev
            const bool isPointerEvent =
                    isFromSource(event->getSource(), AINPUT_SOURCE_CLASS_POINTER);
            // If a pointer event has no displayId specified, inject it to the default display.
            const uint32_t displayId = isPointerEvent && (event->getDisplayId() == ADISPLAY_ID_NONE)
            const int32_t displayId = isPointerEvent && (event->getDisplayId() == ADISPLAY_ID_NONE)
                    ? ADISPLAY_ID_DEFAULT
                    : event->getDisplayId();
            int32_t flags = motionEvent.getFlags();