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

Commit 955414fa authored by Vanshika Sinha's avatar Vanshika Sinha Committed by Steve Kondik
Browse files

Telephony : Fix to show phone number when user switches to airplane mode

Do not reinitialize misidn in onRadioOfforNotAvailable() to show previously
available number when user switches to airplane mode.

CRs fixed : 194417
parent d22633a8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -181,7 +181,9 @@ public final class SIMRecords extends IccRecords {

    protected void onRadioOffOrNotAvailable() {
        imsi = null;
        msisdn = null;
       // By not reinitializing msisdn to null, allow user to get msisdn
       // information even if he switches to airplane mode
       // msisdn = null;
        voiceMailNum = null;
        countVoiceMessages = 0;
        mncLength = UNINITIALIZED;