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

Commit a7a79e10 authored by Meng Wang's avatar Meng Wang Committed by Gerrit Code Review
Browse files

Merge "Expose the last known roaming state"

parents 3d350191 72796465
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -259,6 +259,7 @@ public class ImsPhone extends ImsPhoneBase {
    // The helper class to receive and store the MmTel registration status updated.
    private ImsRegistrationCallbackHelper mImsMmTelRegistrationHelper;

    // The roaming state if currently in service, or the last roaming state when was in service.
    private boolean mRoaming = false;

    private boolean mIsInImsEcm = false;
@@ -2442,6 +2443,10 @@ public class ImsPhone extends ImsPhoneBase {
                getBackgroundCall().getState() != Call.State.IDLE);
    }

    public boolean getRoamingState() {
        return mRoaming;
    }

    @Override
    public void dump(FileDescriptor fd, PrintWriter printWriter, String[] args) {
        IndentingPrintWriter pw = new IndentingPrintWriter(printWriter, "  ");