diff options
| author | 2024-01-31 13:12:49 +0000 | |
|---|---|---|
| committer | 2024-02-02 17:29:57 +0000 | |
| commit | 228bc6c034d3e289d55caef9af2a187483b1162f (patch) | |
| tree | cadb2da3dc996053100fc09f5ca8a7f3ebd63758 /libs/androidfw/StringPool.cpp | |
| parent | 0505c36312e4f1a2d36576c95adf43822b65c605 (diff) | |
Make Letterbox.InputInterceptor thread safe
InputEventReceiver#finishInputEvent is invoked every time
a double-tap event occurs on the ui thread and so it cannot
be guarded by the mWmService.mGlobalLock.
To avoid race conditions the common practice is to invoke
the InputEventReceiver#dispose() on the same thread dispatching
input events.
Fix: 317428610
Test: atest WmTests:LetterboxTest
Change-Id: I4cbaa9ede668a4434dd59d6a7758bec961cc1eeb
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions