commit | 373496657d71c481308604d50bce409741699608 | [log] [tgz] |
---|---|---|
author | Hansong Zhang <hsz@google.com> | Fri Dec 11 17:39:35 2020 -0800 |
committer | Chris Manton <cmanton@google.com> | Wed Dec 16 03:30:41 2020 +0000 |
tree | 6b827b13a9b450a9a3ee005a00acb0eee13d80bb | |
parent | 23ace73ac4131f604b40decb2ce5afd8092cab9b [diff] |
Bluetooth: Check state correctly when client wants to bind Use mState instead of mEnable to check Bluetooth server status. mEnable is used to indicate whether the next action is enabling or disabling the Bluetooth stack, whereas mState indicates the current state. Test: atest FrameworksServicesTests Bug: 173941366 Change-Id: I335f1e33fe84a9dd7e9227dd55d54fcae7c0ec4b