commit | 771a769d6a9aa6eeea72dc821ee4c0a706942302 | [log] [tgz] |
---|---|---|
author | Hu Guo <guohu@xiaomi.corp-partner.google.com> | Sun Sep 17 20:51:08 2023 +0800 |
committer | Prabir Pradhan <prabirmsp@google.com> | Sat Sep 23 17:11:22 2023 +0000 |
tree | 77bb9d7266fabf522768dbb442e5678c4844972f | |
parent | 3821b0df36c612755b711d8d5a7b63377d7cf5d9 [diff] |
Dispatch cancel event to the correct target display When screen recording is enabled, a virtual screen will be generated, and the cancel event will be incorrectly sent to the virtual screen. The coordinates of the cancel event are the wrong logical coordinates after being transformed by the transform of the windows of the virtual screen. Bug: 301020008 Test: atest inputflinger_tests Change-Id: Icf1301e5174ac61eeedda326545f2b68ef7b8af0