Skip to content
Commit abe91dbc authored by bohu's avatar bohu
Browse files

bluetooth: fix crash on accessing null adapter

By checking bluetooth adaptor before accessing it,
because it could be null on devices that do not
support bluetooth, such as android emulator.

BUG: 121129248

Test:
lunch sdk_gphone_x86-userdebug
make -j
emulator
launch chrome and it should not crash

Change-Id: Ia75b5ee1efa3a8195056dada079239931eb9d901
parent 0b6adaab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment