Return the correct roaming status when check isNetworkRoaming()
Bug: 148009135 Test: Verify WFC is registered successfully during roaming Change-Id: I3b70846848b9b12381f65222db623064b7b57254
This commit is contained in:
@@ -2349,7 +2349,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