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

Commit d35aede6 authored by Thomas Stuart's avatar Thomas Stuart
Browse files

Cache callbacks that can be ready before the service is set

After digging through some failed flaky call audio tests, I saw that the
CallEndpointController was not calling the callbacks because the
TransactionalServiceWrapper was null at the time the callbacks were
ready to be called.  This is a timing issue that is hard to replicate.

To mitigate, the ServiceWrappers should cache the callbacks and once the
service is set, the callbacks should be sent.

Fixes: 321369729
Test: atest com.android.server.telecom.tests.CallTest
Change-Id: I923b5ddc9e3f801113c56f8b710b597f6d2efd0b
parent 954c0931
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