We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b95bd3b + 43654e7 commit c2d55d9Copy full SHA for c2d55d9
1 file changed
services/inputflinger/dispatcher/InputDispatcher.cpp
@@ -4680,7 +4680,7 @@ InputEventInjectionResult InputDispatcher::injectInputEvent(const InputEvent* ev
4680
const bool isPointerEvent =
4681
isFromSource(event->getSource(), AINPUT_SOURCE_CLASS_POINTER);
4682
// If a pointer event has no displayId specified, inject it to the default display.
4683
- const uint32_t displayId = isPointerEvent && (event->getDisplayId() == ADISPLAY_ID_NONE)
+ const int32_t displayId = isPointerEvent && (event->getDisplayId() == ADISPLAY_ID_NONE)
4684
? ADISPLAY_ID_DEFAULT
4685
: event->getDisplayId();
4686
int32_t flags = motionEvent.getFlags();
0 commit comments