commit | 0594d0be6e0f727a7762f8aab2c6e33cadb0e65e | [log] [tgz] |
---|---|---|
author | chandan mishra <chanmish@codeaurora.org> | Fri Sep 28 16:48:18 2018 +0530 |
committer | Chandan Mishra <chanmish@codeaurora.org> | Mon Oct 08 09:51:32 2018 +0000 |
tree | a71a133f69a27ad4ccacc184f90af35c44ff9d5c | |
parent | 2979f6d01b0998f72bcea4b29b20f200d7888827 [diff] |
A2dp: Track the current state machine state When state machine moves from one state to another and getCurrentState API is called from a different thread, the API may throw an exception - 'arrayoutofboundsexception' Using mConnectionState in place of getCurrentState and setting mConnectionState synchronized way. CRs-Fixed: 2329027 Change-Id: I5dfa081e2d8ec97d00be5e1db6510158bf36f71e