Avoid NPE since getBluetoothClass is nullable

Bug: 264224476
Test: build pass.
Change-Id: I2d55f95f0a37dc31b64f85f51184338f700d1085
1 file changed