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

Commit 952f6df5 authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Maintain NITZ info in RILJ so that it can be used even after phone type is switched.

Bug: 18071327
Change-Id: Ib1aa4ab375219dc37e51e5cbe430de5cec5eadce
parent 3b225692
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -676,7 +676,6 @@ public final class RIL extends BaseCommands implements CommandsInterface {
            mNITZTimeRegistrant
                .notifyRegistrant(
                    new AsyncResult (null, mLastNITZTimeInfo, null));
            mLastNITZTimeInfo = null;
        }
    }

@@ -2868,10 +2867,10 @@ public final class RIL extends BaseCommands implements CommandsInterface {

                        mNITZTimeRegistrant
                            .notifyRegistrant(new AsyncResult (null, result, null));
                    } else {
                        // in case NITZ time registrant isnt registered yet
                        mLastNITZTimeInfo = result;
                    }
                    // in case NITZ time registrant isn't registered yet, or a new registrant
                    // registers later
                    mLastNITZTimeInfo = result;
                }
            break;