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

Commit e433881d authored by Junda Liu's avatar Junda Liu Committed by Android (Google) Code Review
Browse files

Merge "Postpone otasp_not_neeeded until SIM_LOADED." into lmp-dev

parents 49404e45 0a8236f5
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -250,9 +250,6 @@ final class GsmServiceStateTracker extends ServiceStateTracker {
        Context context = phone.getContext();
        filter.addAction(ACTION_RADIO_OFF);
        context.registerReceiver(mIntentReceiver, filter);

        // Gsm doesn't support OTASP so its not needed
        phone.notifyOtaspChanged(OTASP_NOT_NEEDED);
    }

    @Override
@@ -411,6 +408,8 @@ final class GsmServiceStateTracker extends ServiceStateTracker {

            case EVENT_SIM_RECORDS_LOADED:
                log("EVENT_SIM_RECORDS_LOADED: what=" + msg.what);
                // Gsm doesn't support OTASP so its not needed
                mPhone.notifyOtaspChanged(OTASP_NOT_NEEDED);

                updatePhoneObject();
                updateSpnDisplay();