summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayLuts.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2024-10-07 10:58:40 -0700
committer Siarhei Vishniakou <svv@google.com> 2024-10-10 23:41:16 -0700
commitf6abbf4b919b121614384ab2286bcaf16bedd344 (patch)
treee0a96e800c38c6d8a7119a17ba53eb3b259e91da /libs/gui/DisplayLuts.cpp
parent8ea4421c67405c42e670d219e097d290b77a4416 (diff)
Reject inconsistent globally injected events
The dispatcher currently crashes when certain inconsistent input events are injected. This is affecting test stability negatively. In this CL, we reject globally-injected inconsistent events. That may cause some test flakiness, but should eliminate the crashes due to dispatcher reaching bad state later. Unfortunately, we can't currently reject all inconsistent injected events. In the case of targeted injection, it is common for the caller to leave pointers dangling. Since the injection happens into the caller-owned windows only, at the end of those tests the windows get cleaned up, so the dispatcher is still in a good state. The eventual goal is to completely get rid of injection. Meanwhile, however, this should help avoid at least some of the crashes. Bug: 369935405 Flag: EXEMPT bugfix Test: atest inputflinger_tests Change-Id: I0696dbd3e4c5b88aad5aa853759227c0b56d5374
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions