Merge "Return the correct roaming status when check isNetworkRoaming()"
This commit is contained in:
@@ -2346,7 +2346,7 @@ public class TelephonyManager {
|
||||
@UnsupportedAppUsage
|
||||
public boolean isNetworkRoaming(int subId) {
|
||||
int phoneId = SubscriptionManager.getPhoneId(subId);
|
||||
return getTelephonyProperty(subId, TelephonyProperties.operator_is_roaming(), false);
|
||||
return getTelephonyProperty(phoneId, TelephonyProperties.operator_is_roaming(), false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user