Merge "update getStaticPhoneCapability to use HAL instead of default value"
This commit is contained in:
@@ -9704,7 +9704,7 @@ public class TelephonyManager {
|
|||||||
ITelephony telephony = getITelephony();
|
ITelephony telephony = getITelephony();
|
||||||
if (telephony != null) {
|
if (telephony != null) {
|
||||||
return telephony.getNumberOfModemsWithSimultaneousDataConnections(
|
return telephony.getNumberOfModemsWithSimultaneousDataConnections(
|
||||||
getSubId(), mContext.getOpPackageName());
|
getSubId(), getOpPackageName());
|
||||||
}
|
}
|
||||||
} catch (RemoteException ex) {
|
} catch (RemoteException ex) {
|
||||||
// This could happen if binder process crashes.
|
// This could happen if binder process crashes.
|
||||||
|
|||||||
Reference in New Issue
Block a user