update getStaticPhoneCapability to use HAL instead of default value

Bug: 123359867
Test: build
Change-Id: Ic40921679ade1f9be42f2bc3d5170ba201dbab5a
This commit is contained in:
Nazanin Bakhshi
2019-03-06 15:31:45 -08:00
parent ede37208f7
commit 1772247b04

View File

@@ -9748,7 +9748,7 @@ public class TelephonyManager {
ITelephony telephony = getITelephony();
if (telephony != null) {
return telephony.getNumberOfModemsWithSimultaneousDataConnections(
getSubId(), mContext.getOpPackageName());
getSubId(), getOpPackageName());
}
} catch (RemoteException ex) {
// This could happen if binder process crashes.