Commits

Matthew Xie authored 9a943a64202
Add a timeout for disconnecting devices to recover from error situation Start the timer (3 second) just after calling disconnect devices. If the timer expires, it indicates an error condition. we don't wait on the ALL_DEVICES_DISCONNECTED event upon the error. Instead, get out of switching state and turn off BT to reset out of the error condition. Change-Id: I27aa8cd7b6fe50d9191e2d32fc2d6eac50424403