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

Skip to content
Commit 33d7e378 authored by Daniel Norman's avatar Daniel Norman
Browse files

Initialize DirectA11yConnection pid in constructor, not static.

It is possible for the static pid variable to be initialized before the
app process is forked from Zygote, leading to the pid here differing
from the pid used by app-process queries. This causes deadlock as the
app-process query waits on itself instead of using the same-process
message handling logic that returns immediately.

Fix this by initializing the pid per instance of this class,
in the constructor.

Bug: 269765481
Test: atest AccessibilityEndToEndTest (existing tests)
Test: Run the ATF test from the attached bug
Change-Id: I83b7a6330aaf39c5994eebb4b029314d61c10544
parent 52a61a8b
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