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

Commit eb3b8863 authored by Amit Mahajan's avatar Amit Mahajan Committed by Android Git Automerger
Browse files

am c6194371: Merge "Telephony: Voice mail notification related changes" into...

am c6194371: Merge "Telephony: Voice mail notification related changes" into lmp-dev automerge: 8daf2a45

* commit 'c6194371':
  Telephony: Voice mail notification related changes
parents 776e350a c6194371
Loading
Loading
Loading
Loading
+18 −1
Original line number Original line Diff line number Diff line
@@ -1887,6 +1887,23 @@ public class GSMPhone extends PhoneBase {
        }
        }
    }
    }


    /**
     * Sets the SIM voice message waiting indicator records.
     * @param line GSM Subscriber Profile Number, one-based. Only '1' is supported
     * @param countWaiting The number of messages waiting, if known. Use
     *                     -1 to indicate that an unknown number of
     *                      messages are waiting
     */
    @Override
    public void setVoiceMessageWaiting(int line, int countWaiting) {
        IccRecords r = mIccRecords.get();
        if (r != null) {
            r.setVoiceMessageWaiting(line, countWaiting);
        } else {
            log("SIM Records not found, MWI not updated");
        }
    }

    protected void log(String s) {
    protected void log(String s) {
        Rlog.d(LOG_TAG, "[GSMPhone] " + s);
        Rlog.d(LOG_TAG, "[GSMPhone] " + s);
    }
    }