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

Commit dc56885d authored by Amit Mahajan's avatar Amit Mahajan Committed by Android (Google) Code Review
Browse files

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

Merge "Maintain NITZ info in RILJ so that it can be used even after phone type is switched." into lmp-mr1-dev
parents dc0a5403 952f6df5
Loading
Loading
Loading
Loading
+3 −4
Original line number Original line Diff line number Diff line
@@ -676,7 +676,6 @@ public final class RIL extends BaseCommands implements CommandsInterface {
            mNITZTimeRegistrant
            mNITZTimeRegistrant
                .notifyRegistrant(
                .notifyRegistrant(
                    new AsyncResult (null, mLastNITZTimeInfo, null));
                    new AsyncResult (null, mLastNITZTimeInfo, null));
            mLastNITZTimeInfo = null;
        }
        }
    }
    }


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


                        mNITZTimeRegistrant
                        mNITZTimeRegistrant
                            .notifyRegistrant(new AsyncResult (null, result, null));
                            .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;
            break;