diff options
author | Hansong Zhang <hsz@google.com> | 2020-12-11 17:39:35 -0800 |
---|---|---|
committer | Chris Manton <cmanton@google.com> | 2020-12-16 03:30:41 +0000 |
commit | ff82368c84623a778a898525f63f55f894f24598 (patch) | |
tree | b77433c4c03158f8e3b53800c0db8c74f21b613a /framework/java/android/bluetooth/BluetoothMapClient.java | |
parent | d27162534c46c6ad7edb1b7f475b89cff20bb14c (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
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothMapClient.java')
0 files changed, 0 insertions, 0 deletions