Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 228bc6c0 authored by Massimo Carli's avatar Massimo Carli
Browse files

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
parent 0505c363
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment