summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Linnan Li <lilinnan@xiaomi.corp-partner.google.com> 2024-04-11 20:32:13 +0800
committer Siarhei Vishniakou <svv@google.com> 2024-04-12 16:50:07 +0000
commitccf6ce3dfa5253e688953597beb1608563a59b24 (patch)
treec74fae5b95f86281887421b60ef1f9c594bb6186 /libs/ultrahdr/jpegencoderhelper.cpp
parentbc656056bcc519cba0c3c362bfb227b2ab91b467 (diff)
Associate device id with getFirstForegroundWindowHandle
Because we have supported multi-device event streams in the InputDispatcher, but there are still some logics that use the previous single-device stream logic. Here, associating getFirstForegroundWindowHandle with deviceId can solve problems such as events being dispatched to the wrong window, and windows with the same owner listening to ACTION_OUTSIDE events without coordinates. Bug: 328553381 Test: atest inputflinger_tests Change-Id: I71ca90f7f7a6aa05d746fc8d3f0e0fe69d45294b 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