Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef397808 authored by Josh Hou's avatar Josh Hou Committed by android-build-merger
Browse files

Merge "Return the correct roaming status when check isNetworkRoaming()"

am: 1c1461c6

Change-Id: I533f9311045ed13d64d60cee85641f25de3371b1
parents 7e6df336 1c1461c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
    }

    /**