commit | a973009240b4ad13ee2d29b0f23d7b59375e898b | [log] [tgz] |
---|---|---|
author | Mateusz Cicheński <mateuszc@google.com> | Thu Sep 21 22:05:06 2023 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Sep 21 22:05:06 2023 +0000 |
tree | 33ad710d336d713dbdbcb3d9f91536dabee4e480 | |
parent | aa65626634cdca97f2dfb8ff51b329c7ec1f6853 [diff] | |
parent | 645ca825f9e415811bac176e862f3be71e8598e0 [diff] |
Merge "Remove the cast and use the override then()" into main
diff --git a/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/AutoEnterPipFromSplitScreenOnGoToHomeTest.kt b/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/AutoEnterPipFromSplitScreenOnGoToHomeTest.kt index 03c438f..213d596 100644 --- a/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/AutoEnterPipFromSplitScreenOnGoToHomeTest.kt +++ b/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/AutoEnterPipFromSplitScreenOnGoToHomeTest.kt
@@ -135,7 +135,7 @@ if (flicker.scenario.isLandscapeOrSeascapeAtStart) { flicker.assertWmVisibleRegion(pipApp) { // first check against landscape bounds then against portrait bounds - (coversAtMost(displayBounds).then() as RegionTraceSubject).coversAtMost( + coversAtMost(displayBounds).then().coversAtMost( portraitDisplayBounds ) }