summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothManager.java
diff options
context:
space:
mode:
authorHansong Zhang <hsz@google.com>2020-12-10 13:01:26 -0800
committerHansong Zhang <hsz@google.com>2020-12-11 19:13:26 +0000
commit7113f77d5c5bc9d350ae10d6e50641ecd026f149 (patch)
tree557d0ed8a11214f60fc6afd0b5d0ba851e704508 /framework/java/android/bluetooth/BluetoothManager.java
parent3f1384cf2ef1051cf55ea1d9fdad55eb29b15b7e (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: Id85494f7f40a0201061e74fbf3f08f70a632a62c
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothManager.java')
0 files changed, 0 insertions, 0 deletions