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

Skip to content
Commit 1d0f4bad authored by Xiao Ma's avatar Xiao Ma
Browse files

Update the target SDK version to 30 in the NetworkStackIntegrationTest.

The default MAC address of loopback interface turns out anonymized MAC
when system app is running on the target SDK version < 30, to prevent
NPE crash (see aosp/1693685). That will break the testInterfaceParams
which is asserting the InterfaceParams#hasMacAddress is false based
on the null MAC address on loopback interface. Update using the target
SDK 30 to keep the same behavior as before.

Bug: 188468203
Test: atest NetworkStackIntegrationTests NetworkStackTests
Test: atest NetworkStackCoverageTests
Change-Id: I679ac029899fcb7c5b0b33df474ee11eb08a6f74
parent 12067880
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment