update getStaticPhoneCapability to use HAL instead of default value

Bug: 123359867
Test: build
Change-Id: Ic40921679ade1f9be42f2bc3d5170ba201dbab5a
Merged-In: Ic40921679ade1f9be42f2bc3d5170ba201dbab5a
(cherry picked from commit 1772247b04)
This commit is contained in:
Nazanin Bakhshi
2019-03-06 15:31:45 -08:00
parent a160067016
commit ceaf9684a5

View File

@@ -9704,7 +9704,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.