private void updateBluetoothStatusDisplay(){
  final BluetoothAdapter bluetoothAdapter=BluetoothAdapter.getDefaultAdapter();
  bluetooth.setText(Boolean.toString(bluetoothAdapter != null && bluetoothAdapter.isEnabled()));
}

private void updateBluetoothStatusDisplay ( ) { final BluetoothAdapter bluetoothAdapter = BluetoothAdapter . getDefaultAdapter ( ) ; bluetooth . setText ( Boolean . toString ( bluetoothAdapter != null && bluetoothAdapter . isEnabled ( ) ) ) ; }
updates the bluetooth status
