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

Skip to content
Unverified Commit e4d61d7b authored by Linnan Li's avatar Linnan Li Committed by Michael Bestas
Browse files

Cancel drag and drop when pointers are canceled for the drag window



When a cancel event is synthesized for any reason for the drag window
when drag and drop is active, we should cancel the ongoing drag and drop
operation. Otherwise, the system may end up in an unexpected state
resulting in unwanted behavior.

Bug: 291181957
Test: atest inputflinger_tests

Change-Id: Ic5e328f0e445e3271cb1797725c4c00589a6b5e1
Merged-In: Ic5e328f0e445e3271cb1797725c4c00589a6b5e1
Signed-off-by: default avatarLinnan Li <lilinnan@xiaomi.corp-partner.google.com>
parent 9530645e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment