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

Commit b1049210 authored by Chia-chi Yeh's avatar Chia-chi Yeh Committed by Android (Google) Code Review
Browse files

Merge "RTP: add a null-check in AudioStream.setDtmfType()."

parents 5b8fd250 fb982db4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ public class AudioStream extends RtpStream {
            if (type < 96 || type > 127) {
                throw new IllegalArgumentException("Invalid type");
            }
            if (type == mCodec.type) {
            if (mCodec != null && type == mCodec.type) {
                throw new IllegalArgumentException("The type is used by codec");
            }
        }