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

Commit 18cedf86 authored by Diego Vela's avatar Diego Vela
Browse files

Call SidecarCallback on main thread.

Call the SidecarCallback on the main thread to avoid deadlocks.
There is a deadlock where the SidecarCallback was running on a binder
thread and a deduplicator in WM jetpack was running on the main thread.
They would have some locks interwovend causing a deadlock. Running on
the main thread will eliminate this.

Flag: androidx.window.sidecar.flags.merge_extensions_sidecar
Bug: 347964255
Test: n/a - analyze the stack traces in the reported bug.
Change-Id: I0e19cd2a2f8b7a63388216fb3b299b0e48f0ae99
parent e77232f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment