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

Commit 9bc7183a authored by Michal Brzezinski's avatar Michal Brzezinski
Browse files

Changing nullability of overriden Consumer method

Required for incoming update of AndroidX libraries where argument becomes non-nullable

Fixes: 322176120
Flag: None
Test: LeftRightArrowPressedListenerTest compiles
Change-Id: Iacbadb514afbbd7b50e5e89302698283c695db2d
parent 87fbc21f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -37,7 +37,7 @@ class LeftRightArrowPressedListenerTest : SysuiTestCase() {
        object : Consumer<Int> {
        object : Consumer<Int> {
            var lastValue: Int? = null
            var lastValue: Int? = null


            override fun accept(keyCode: Int?) {
            override fun accept(keyCode: Int) {
                lastValue = keyCode
                lastValue = keyCode
            }
            }
        }
        }