diff options
| author | 2023-09-05 17:14:21 +0800 | |
|---|---|---|
| committer | 2023-10-31 17:01:53 +0000 | |
| commit | 907ae738dae0ff389383d7acb496d939f1e62499 (patch) | |
| tree | 836146e7704e9207249854f3dce1b573fb08d568 /libs/ultrahdr/jpegencoderhelper.cpp | |
| parent | a73331141b5aa0a5f992bf0e743a2ab718f6876d (diff) | |
Add POLICY_FLAG_PASS_TO_USER while hovering is active
In the following hover event sequence: ENTER->MOVE->EXIT, the policy might not set POLICY_FLAG_PASS_TO_USER after the MOVE event is received. This would cause MOVE and EXIT events to be dropped. This would later cause problems with stream consistency, because the following HOVER_ENTER event would not be expected.
So add POLICY_FLAG_PASS_TO_USER to the hover event while hovering is active, even if the policy does not add
POLICY_FLAG_PASS_TO_USER.
Bug: 299055469
Test: atest inputflinger_tests
Change-Id: If99e493a6a645c66a18a97351763f00a37dc1dc0
Signed-off-by: Linnan Li <lilinnan@xiaomi.corp-partner.google.com>
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions