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

Commit 7f50d1a0 authored by Amit Mahajan's avatar Amit Mahajan Committed by Android (Google) Code Review
Browse files

Merge "Skip setVoiceMailNumber() operation if SIMRecords is disposed." into rvc-qpr-dev

parents f6948e20 babfa91d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -354,6 +354,10 @@ public class SIMRecords extends IccRecords {
    @Override
    public void setVoiceMailNumber(String alphaTag, String voiceNumber,
            Message onComplete) {
        if (mDestroyed.get()) {
            return;
        }

        if (mIsVoiceMailFixed) {
            AsyncResult.forMessage((onComplete)).exception =
                    new IccVmFixedException("Voicemail number is fixed by operator");