summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/AnnotationProcessor.cpp
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
commit9b0bb63ed7fe0b7d8747f20cd2cc674fd491f3a3 (patch)
tree9e4700a853ddce31429cdfd0ae86faf4018a1eaf /tools/aapt2/java/AnnotationProcessor.cpp
parent9f16f2665a878a0f08fb73bd56ba1f703c35db4f (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 'tools/aapt2/java/AnnotationProcessor.cpp')
0 files changed, 0 insertions, 0 deletions