Merge "Don't Ignore new extras in ConnectionRequest"
diff --git a/src/com/android/server/telecom/BluetoothPhoneServiceImpl.java b/src/com/android/server/telecom/BluetoothPhoneServiceImpl.java
index 2173fa5..0ad5d4c 100644
--- a/src/com/android/server/telecom/BluetoothPhoneServiceImpl.java
+++ b/src/com/android/server/telecom/BluetoothPhoneServiceImpl.java
@@ -630,7 +630,12 @@
} else {
addressUri = call.getHandle();
}
+
String address = addressUri == null ? null : addressUri.getSchemeSpecificPart();
+ if (address != null) {
+ address = PhoneNumberUtils.stripSeparators(address);
+ }
+
int addressType = address == null ? -1 : PhoneNumberUtils.toaFromString(address);
if (shouldLog) {