android: Async setupConnection binder call
Make setupConnection oneway/async. Add a ICallbackInt interface to return the PID of the child process. The reply is then posted back to launcher thread. Connection setup is already mostly async so only involves moving related code to the reply callback. One caveat is that getCallingPid no longer works and just returns 0 for oneway calls. The pid check is not strictly necessary, so dropped the from setupConnection instead. BUG=689758, 690118 Review-Url: https://codereview.chromium.org/2810433002 Cr-Commit-Position: refs/heads/master@{#463332}
Showing
Please register or sign in to comment