Merge "Don't crash in bugreport on devices without BT" into mnc-dev
This commit is contained in:
@@ -59,6 +59,9 @@ public class BluetoothControllerImpl implements BluetoothController, BluetoothCa
|
||||
public void dump(FileDescriptor fd, PrintWriter pw, String[] args) {
|
||||
pw.println("BluetoothController state:");
|
||||
pw.print(" mLocalBluetoothManager="); pw.println(mLocalBluetoothManager);
|
||||
if (mLocalBluetoothManager == null) {
|
||||
return;
|
||||
}
|
||||
pw.print(" mEnabled="); pw.println(mEnabled);
|
||||
pw.print(" mConnecting="); pw.println(mConnecting);
|
||||
pw.print(" mLastDevice="); pw.println(mLastDevice);
|
||||
|
||||
Reference in New Issue
Block a user