Skip to content
Commit fe87df9e authored by Roman Kiryanov's avatar Roman Kiryanov
Browse files

Check mBtRouteProvider for null before using it



BluetoothRouteProvider.getInstance returns null if
there is no BT adapter available (e.g. on Android Studio
Emulator) which causes a bad crash.

Bug: 152647633
Test: boot, play video in chrome
Signed-off-by: default avatarRoman Kiryanov <rkir@google.com>
Change-Id: Ic52a164c348290463cbf1fba913a67d378b746d9
parent 5bc4b972
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment