commit | c4faee0b101024538754b8254cf4c057554f2bea | [log] [tgz] |
---|---|---|
author | anga <anga@syntronic.com> | Tue Feb 01 14:10:25 2011 +0100 |
committer | Brad Fitzpatrick <bradfitz@android.com> | Mon Feb 07 09:53:59 2011 -0800 |
tree | 84a9b1bed91ae24f0c12e659495f61b5120f949b | |
parent | 56451a44778af5f289695808e4c06485f26b4bef [diff] |
Fix a race condition in NativeDaemonConnector Fixes a race between the onDaemonConnected callback and setting the mOutputStream in NativeDaemonConnector. MountService connects to vold using the NativeDaemonConnector. Throws a “NativeDaemonConnectorException: No output stream!” when the onDaemonConnected callback in MountService calls the doListCommand. Change-Id: Ib895bab37f7df680e4362df6366198c0a673c5e9