commit | 5844f1d35731b619969805957d7c3cce54431785 | [log] [tgz] |
---|---|---|
author | Jaikumar Ganesh <jaikumar@google.com> | Thu Oct 14 12:11:25 2010 -0700 |
committer | Jaikumar Ganesh <jaikumar@google.com> | Thu Oct 14 12:33:16 2010 -0700 |
tree | 4a991d3e73aff7001d97ef3df6c7e7328d070bd9 | |
parent | bd57eeafe034cf850225db403700b5dc5db5ebcc [diff] |
Check for state before disconnecting. This is a race condition exposed after we turned off some STOPSHIP logging and some other logging. We drop the ACl connection after 2 secs of inactivity and hence the device didn't exist -> DBUS crash. Bug: 3097224 Change-Id: I90adbbee2c5793924037685e484027ed5cd2e0d0