Skip to content
Commit dfe2456a authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Validate SipMessages have a correct Via branch parameter

SIP messages are required to have a transaction ID, which is based
on the Via header's unique branch parameter. For processing, we require
this parameter to be set in order to send state updates about the message.

Also, as per council guidelines in b/184151053, throw a NPE instaed of
IllegalArgumentException for null params.

Fixes: 181087377
Test: atest CtsTelephonyTestCases
Change-Id: Ic4a637e780d04e9ac5d8ba01d7ba6dfae92307b1
parent dedc39bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment