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

Commit 11a6797d authored by Amit Mahajan's avatar Amit Mahajan Committed by android-build-merger
Browse files

Consider Service State OFF same as OUT OF SERVICE for combined regState am: c594cbe5

am: 0b92ca4a

Change-Id: I86c496aabf7fa0d717c975c8c35525b424da8933
parents ac81b649 0b92ca4a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4926,7 +4926,8 @@ public class ServiceStateTracker extends Handler {
    protected int getCombinedRegState() {
        int regState = mSS.getVoiceRegState();
        int dataRegState = mSS.getDataRegState();
        if ((regState == ServiceState.STATE_OUT_OF_SERVICE)
        if ((regState == ServiceState.STATE_OUT_OF_SERVICE
                || regState == ServiceState.STATE_POWER_OFF)
                && (dataRegState == ServiceState.STATE_IN_SERVICE)) {
            log("getCombinedRegState: return STATE_IN_SERVICE as Data is in service");
            regState = dataRegState;