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

Commit 3a544c9d authored by Nataniel Borges's avatar Nataniel Borges Committed by Android (Google) Code Review
Browse files

Merge "Reduce flicker memory consumption (Pt 3)" into sc-dev

parents 8e79f01a 0f3645b8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ class AppPairsTestCannotPairNonResizeableApps(
        @Parameterized.Parameters(name = "{0}")
        @JvmStatic
        fun getParams(): List<Array<Any>> {
            val testTag = "testAppPairs_unpairPrimaryAndSecondaryApps"
            val testTag = "testAppPairs_cannotPairNonResizeableApps"
            val testSpec: FlickerBuilder.(Bundle) -> Unit = { configuration ->
                withTestName {
                    buildTestTag(testTag, configuration)
@@ -71,7 +71,7 @@ class AppPairsTestCannotPairNonResizeableApps(
                        appPairsDividerIsInvisible()
                    }
                    windowManagerTrace {
                        end {
                        end("onlyResizeableAppWindowVisible") {
                            val nonResizeableApp = nonResizeableApp
                            require(nonResizeableApp != null) {
                                "Non resizeable app not initialized"
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ class AppPairsTestPairPrimaryAndSecondaryApps(
                        }
                    }
                    windowManagerTrace {
                        end {
                        end("bothAppWindowsVisible") {
                            isVisible(primaryApp.defaultWindowName)
                            isVisible(secondaryApp.defaultWindowName)
                        }
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ class AppPairsTestUnpairPrimaryAndSecondaryApps(
                        }
                    }
                    windowManagerTrace {
                        end {
                        end("bothAppWindowsInvisible") {
                            isInvisible(primaryApp.defaultWindowName)
                            isInvisible(secondaryApp.defaultWindowName)
                        }
+2 −2
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ class RotateTwoLaunchedAppsInAppPairsMode(
            val instrumentation = InstrumentationRegistry.getInstrumentation()
            val testSpec: FlickerBuilder.(Bundle) -> Unit = { configuration ->
                withTestName {
                    buildTestTag("testRotateAndEnterAppPairsMode", configuration)
                    buildTestTag("testRotateTwoLaunchedAppsInAppPairsMode", configuration)
                }
                transitions {
                    executeShellCommand(composePairsCommand(
@@ -88,7 +88,7 @@ class RotateTwoLaunchedAppsInAppPairsMode(
                    windowManagerTrace {
                        navBarWindowIsAlwaysVisible()
                        statusBarWindowIsAlwaysVisible()
                        end {
                        end("bothAppWindowsVisible") {
                            isVisible(primaryApp.defaultWindowName)
                                .isVisible(secondaryApp.defaultWindowName)
                        }
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ class RotateTwoLaunchedAppsRotateAndEnterAppPairsMode(
                    windowManagerTrace {
                        navBarWindowIsAlwaysVisible()
                        statusBarWindowIsAlwaysVisible()
                        end {
                        end("bothAppWindowsVisible") {
                            isVisible(primaryApp.defaultWindowName)
                            isVisible(secondaryApp.defaultWindowName)
                        }
Loading