am af468add: am 58295e71: Merge "Add Null checks while processing pairing cancel intent" into mnc-dev
* commit 'af468addb672ef002dee64376bc06f2bf8c6c0f9': Add Null checks while processing pairing cancel intent
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user