commit | 33fc39050b971546e5bced4e24b8edef468f4b8d | [log] [tgz] |
---|---|---|
author | Satish Kodishala <skodisha@codeaurora.org> | Fri Aug 03 14:48:43 2018 +0530 |
committer | Nagashree S <nagashre@codeaurora.org> | Tue Aug 14 11:41:14 2018 +0530 |
tree | 3d22cae9ad7c4120f317a80de3b8dabd00907211 | |
parent | 988e60bb72222e9dc4867f8450226321c7340dbe [diff] |
HFP AG: 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'. Maintaining the current state and getting/ setting the state in synchronized way will avoid the issue. CRs-Fixed: 2295514 Change-Id: If9ca22364483b6812fcb78fff46e37e979ea6eca