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

Commit 94e45297 authored by Dave Mankoff's avatar Dave Mankoff
Browse files

Fix nullability for Kotlin 2.1

Bug: 399463072
Flag: EXEMPT minor refactor
Test: m out/soong/.intermediates/frameworks/libs/systemui/mechanics/tests/mechanics_tests/android_common/kotlin/mechanics_tests.jar
Change-Id: Ibb3163aac20ba649c8a4e4e7629e0137f53f87c3
parent 0d1979ec
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -127,9 +127,9 @@ internal constructor(failureMetadata: FailureMetadata, private val actual: Break

    companion object {
        val BreakpointKeys =
            Correspondence.transforming<Breakpoint, BreakpointKey>({ it?.key }, "key")
            Correspondence.transforming<Breakpoint, BreakpointKey>({ it.key }, "key")
        val BreakpointPositions =
            Correspondence.transforming<Breakpoint, Float>({ it?.position }, "position")
            Correspondence.transforming<Breakpoint, Float>({ it.position }, "position")

        /** Returns a factory to be used with [Truth.assertAbout]. */
        val SubjectFactory =