aboutsummaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothMapClient.java
diff options
context:
space:
mode:
authorUgo Yu <ugoyu@google.com>2020-03-09 15:42:46 +0800
committerUgo Yu <ugoyu@google.com>2020-04-08 01:21:22 +0000
commit96b659bc9d02c649f9780083040cf4eaf99c6b3a (patch)
tree18ad4a03ffa98270d952bde79e5767813bd38ca8 /framework/java/android/bluetooth/BluetoothMapClient.java
parent96914087869e5c82dc88fd2b114854b1589ce276 (diff)
Synchronize adapter registration with mCallbacks
Move register/unregister callback to the caller thread. This fixes a problem that if an app registers adapter while the BluetoothManagerService is turning on Bluetooth, the app would get a null IBluetooth and would not receive any callback after Bluetooth is turned on. Bug: 149890859 Test: Manual Change-Id: Ia79f6bd1fd6ffab814a15053aeaae031faf875dd Merged-In: Ia79f6bd1fd6ffab814a15053aeaae031faf875dd
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothMapClient.java')
0 files changed, 0 insertions, 0 deletions