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

Commit a2aee2f8 authored by Dave Mankoff's avatar Dave Mankoff
Browse files

Fix nullability for Kotlin 2.1

2.1 is stricter about what is nullable and what isn't.

Bug: 399463072
Flag: EXEMPT minor refactor
Test: presubmits
Change-Id: Idd6ca9af31118be5004b2c0b507e4d10b973d893
parent 3eef4944
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -203,7 +203,7 @@ class GroupedTaskInfoTest : ShellTestCase() {
        assertThat(taskInfoFromParcel.taskInfoList).hasSize(3)
        // Only compare task ids
        val taskIdComparator = Correspondence.transforming<TaskInfo, Int>(
            { it?.taskId }, "has taskId of"
            { it.taskId }, "has taskId of"
        )
        assertThat(taskInfoFromParcel.taskInfoList).comparingElementsUsing(taskIdComparator)
            .containsExactly(1, 2, 3).inOrder()