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

Skip to content
Commit f9087282 authored by William Escande's avatar William Escande
Browse files

move profiles connection away from main thread

By using the main handler to perform binder task, we may load the app
main thread un-necessarily.
Instead use a lock to prevent race condition and block whatever is the
thread that call into getProfileProxy (delegating the responsibilities
of a slow call to the caller thread management)

Test: atest pts-bot (any test that requires the profiles)
Flag: Exempt refactor
Bug: 367914132
Bug: 370815283
Change-Id: Ib7ad3119375b95938751eeec20081f2455ec01b5
parent e0d80767
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