diff options
| author | 2020-04-02 10:55:11 +0000 | |
|---|---|---|
| committer | 2020-04-02 10:55:11 +0000 | |
| commit | 825e2de17c2a96aefa06ca8bf648d290d9d80f07 (patch) | |
| tree | 92038ebb50d5547929be174d63cd5ba92b8903a5 | |
| parent | 1acb24c5158be8bd23e8ff7bd8118b912bf6ccf4 (diff) | |
| parent | 963c5c29bf495aba7351398972393c4ebfd9f7fd (diff) | |
Merge "Fix broken test on devices with cutout" into rvc-dev
| -rw-r--r-- | services/tests/wmtests/src/com/android/server/wm/InsetsStateControllerTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/tests/wmtests/src/com/android/server/wm/InsetsStateControllerTest.java b/services/tests/wmtests/src/com/android/server/wm/InsetsStateControllerTest.java index 17ebe4f67377..4078710ad6e5 100644 --- a/services/tests/wmtests/src/com/android/server/wm/InsetsStateControllerTest.java +++ b/services/tests/wmtests/src/com/android/server/wm/InsetsStateControllerTest.java @@ -106,7 +106,8 @@ public class InsetsStateControllerTest extends WindowTestsBase { getController().getSourceProvider(ITYPE_STATUS_BAR).setWindow(statusBar, null, null); getController().getSourceProvider(ITYPE_NAVIGATION_BAR).setWindow(navBar, null, null); getController().getSourceProvider(ITYPE_IME).setWindow(ime, null, null); - assertEquals(0, getController().getInsetsForDispatch(navBar).getSourcesCount()); + assertNull(getController().getInsetsForDispatch(navBar).peekSource(ITYPE_IME)); + assertNull(getController().getInsetsForDispatch(navBar).peekSource(ITYPE_STATUS_BAR)); } @Test |