Skip to content

ANDROID-13965 Prevent implementation from crashing in case ACTION_POINTER_UP is received with an invalid pointer. #14

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

dpastor
Copy link
Contributor

@dpastor dpastor commented Nov 29, 2023

🎟️ Jira ticket

ANDROID-13965

🥅 What's the goal?

In case it's not possible to retrieve active pointer index from the received event, ignore it as it would crash otherwise when trying to obtain Y position.

…NTER_UP with an invalid pointer is received
@dpastor dpastor requested review from jeslat and dagonco November 29, 2023 16:16
@dpastor dpastor merged commit dff1c98 into main Nov 30, 2023
@dpastor dpastor deleted the pointer_crash branch November 30, 2023 08:18
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants