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

Skip to content
Commit a4659fc0 authored by Linnan Li's avatar Linnan Li Committed by Prabir Pradhan
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

Signed-off-by: default avatarLinnan Li <lilinnan@xiaomi.corp-partner.google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5af92f97f44ff2b96fd6d78e0843f2f133627f88)
Merged-In: Ic5e328f0e445e3271cb1797725c4c00589a6b5e1
Change-Id: Ic5e328f0e445e3271cb1797725c4c00589a6b5e1
parent 4a8483fc
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