summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothHealthAppConfiguration.java
diff options
context:
space:
mode:
authorbohu <bohu@google.com>2018-12-18 12:18:45 -0800
committerbohu <bohu@google.com>2018-12-18 12:30:58 -0800
commit945c249742252f1da5888adef3b1799eb5943f7d (patch)
treea38e38f65f0ac13da4fd0cb2b935c2f1128866a2 /framework/java/android/bluetooth/BluetoothHealthAppConfiguration.java
parentdf20a9627d750051579180d59095398429cf1834 (diff)
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
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothHealthAppConfiguration.java')
0 files changed, 0 insertions, 0 deletions