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

Commit 1c1461c6 authored by Josh Hou's avatar Josh Hou Committed by Gerrit Code Review
Browse files

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

parents 2e8d16f7 8f67f121
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);
    }

    /**