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

Commit 42fb0c80 authored by Steven Moreland's avatar Steven Moreland
Browse files

Fix ParcelNullabilityTest.

Test: atest android.os.ParcelNullabilityTest
Fixes: 138999297
Change-Id: I0f5c09a1e8f7a2927409f228a566988d949f34c7
parent 3b7ee21b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -327,8 +327,8 @@ public final class ParcelNullabilityTest {
        Parcel p = Parcel.obtain();
        p.writeParcelableList(null, 0);

        List<Object> list = new ArrayList<>();
        throughBytes(p).readParcelableList(null, null);
        List<Parcelable> list = new ArrayList<>();
        throughBytes(p).readParcelableList(list, null);
        assertTrue(list.isEmpty());
    }