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

Commit 4bf26bda authored by Xia Ying's avatar Xia Ying Committed by Amit Mahajan
Browse files

Voicemail notification disappears after power cycle

Fail to notify messageWaitingChanged to App, it is
due to could not get subid before Ruim records loaded.

Bug: 17427871
Change-Id: I6d2dddfecda4747a72d6a4ac53bbaa86becd966b
parent 231c3c62
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -320,8 +320,6 @@ public class CDMALTEPhone extends CDMAPhone {
        mCarrierOtaSpNumSchema = SystemProperties.get(
                TelephonyProperties.PROPERTY_OTASP_NUM_SCHEMA,"");

        // Notify voicemails.
        notifier.notifyMessageWaitingChanged(this);
        setProperties();
    }

+6 −3
Original line number Diff line number Diff line
@@ -230,9 +230,6 @@ public class CDMAPhone extends PhoneBase {

        // Sets current entry in the telephony carrier table
        updateCurrentCarrierInProvider(operatorNumeric);

        // Notify voicemails.
        notifier.notifyMessageWaitingChanged(this);
    }

    @Override
@@ -1210,6 +1207,9 @@ public class CDMAPhone extends PhoneBase {
            case EVENT_RUIM_RECORDS_LOADED:{
                Rlog.d(LOG_TAG, "Event EVENT_RUIM_RECORDS_LOADED Received");
                updateCurrentCarrierInProvider();
                // Notify voicemails.
                log("notifyMessageWaitingChanged");
                mNotifier.notifyMessageWaitingChanged(this);
            }
            break;

@@ -1247,6 +1247,9 @@ public class CDMAPhone extends PhoneBase {
            case EVENT_NV_READY:{
                Rlog.d(LOG_TAG, "Event EVENT_NV_READY Received");
                prepareEri();
                // Notify voicemails.
                log("notifyMessageWaitingChanged");
                mNotifier.notifyMessageWaitingChanged(this);
            }
            break;