diff options
| author | 2025-02-20 16:29:56 +0000 | |
|---|---|---|
| committer | 2025-02-20 16:29:56 +0000 | |
| commit | fa83e33649a0906cd8fd27c12305ada1197cfb81 (patch) | |
| tree | 8c191276777cd4bb918bf5b58a29ef97e15af3f2 /libs/gui/ConsumerBase.cpp | |
| parent | d442304ae59342d9e4f93608391950a7d9f709f0 (diff) | |
InputVerifier: add panic message for source conversion
We've seen a crash due to this failing, without many details on why, so
add an explicit check for the conversion with a more descriptive message
for next time.
Bug: 397706159
Test: modify InputVerifier.cpp to pass an invalid source, enable
verification, and check that any input event causes a panic with
the appropriate message:
$ adb shell 'stop && setprop log.tag.InputDispatcherVerifyEvents
DEBUG && start'
Flag: EXEMPT log only update
Change-Id: I0aa07cd14c8afdcd204daa0fb4660466e6c0be42
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions