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

Commit 481a66b5 authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Initialize voicemail count correctly.

This affects cases when neither of EF_MWIS and EF_MWIS_CPHS are present
on SIM.

Bug: 18126828
Change-Id: I860e39017829d939df07d5a8520d8980dbb82395
parent 0b83b4f0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -452,7 +452,7 @@ public class SIMRecords extends IccRecords {

    public int getVoiceMessageCount() {
        boolean voiceMailWaiting = false;
        int countVoiceMessages = -1;
        int countVoiceMessages = 0;
        if (mEfMWIS != null) {
            // Use this data if the EF[MWIS] exists and
            // has been loaded