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

Commit caa5817c authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix CaptivePortalDataTest#testParcelUnparcel on R"

parents 58a2186b e4954ca8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -58,7 +58,8 @@ class CaptivePortalDataTest {

    @Test
    fun testParcelUnparcel() {
        assertParcelSane(data, fieldCount = 8)
        val fieldCount = if (SdkLevel.isAtLeastS()) 8 else 7
        assertParcelSane(data, fieldCount)

        assertParcelingIsLossless(makeBuilder().setUserPortalUrl(null).build())
        assertParcelingIsLossless(makeBuilder().setVenueInfoUrl(null).build())