am fd1b5726: am af468add: am 58295e71: Merge "Add Null checks while processing pairing cancel intent" into mnc-dev

* commit 'fd1b57263cc07a3a77d2ee076726758bd1d97d36':
  Add Null checks while processing pairing cancel intent
This commit is contained in:
Sanket Padawe
2015-07-09 01:56:03 +00:00
committed by Android Git Automerger

View File

@@ -355,7 +355,9 @@ public final class BluetoothEventManager {
return;
}
int errorMsg = R.string.bluetooth_pairing_error_message;
Utils.showError(context, cachedDevice.getName(), errorMsg);
if (context != null && cachedDevice != null) {
Utils.showError(context, cachedDevice.getName(), errorMsg);
}
}
}