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
Loading
Please register or sign in to comment