commit | 5af92f97f44ff2b96fd6d78e0843f2f133627f88 | [log] [tgz] |
---|---|---|
author | Linnan Li <lilinnan@xiaomi.corp-partner.google.com> | Fri Jul 14 14:36:22 2023 +0800 |
committer | Prabir Pradhan <prabirmsp@google.com> | Thu Oct 05 19:30:11 2023 +0000 |
tree | bd139b79a893066a738fb3276354afc06006bd5d | |
parent | 1c29a09b42745d229a77773abe80c9d46137c0e3 [diff] |
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 Signed-off-by: Linnan Li <lilinnan@xiaomi.corp-partner.google.com>