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

Commit e119a6d5 authored by Pablo Gamito's avatar Pablo Gamito
Browse files

Add missing @JvmStatic annotation to ClassRule

The @ClassRule screenRecordRule needs to be static for JUnit otherwise we will get module errors.

Bug: 422487856
Flag: TEST_ONLY
Test: atest WMShellFlickerTestsDesktopMode
Change-Id: Ifebf764d22a380efed4c9beb1994657d33a77e1e
parent 367d0f9e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -45,6 +45,7 @@ abstract class DesktopModeBaseTest(flicker: LegacyFlickerTest) : BaseBenchmarkTe

    companion object {
        @get:ClassRule
        @JvmStatic
        val screenRecordRule = ScreenRecordRule()
    }