diff options
Diffstat (limited to 'src/com/android/server/telecom/BluetoothPhoneService.java')
-rw-r--r-- | src/com/android/server/telecom/BluetoothPhoneService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/server/telecom/BluetoothPhoneService.java b/src/com/android/server/telecom/BluetoothPhoneService.java index 8bf50ae0..e9a00ff9 100644 --- a/src/com/android/server/telecom/BluetoothPhoneService.java +++ b/src/com/android/server/telecom/BluetoothPhoneService.java @@ -680,7 +680,7 @@ public final class BluetoothPhoneService extends Service { String ringingAddress = null; int ringingAddressType = 128; - if (ringingCall != null) { + if (ringingCall != null && ringingCall.getHandle() != null) { ringingAddress = ringingCall.getHandle().getSchemeSpecificPart(); if (ringingAddress != null) { ringingAddressType = PhoneNumberUtils.toaFromString(ringingAddress); |