Merge "Fix broken test on devices with cutout" into rvc-dev am: 825e2de17c

Change-Id: Idf05c428e745564a654b6abf5ae031e5c7f079ff
This commit is contained in:
Jorim Jaggi
2020-04-02 11:01:34 +00:00
committed by Automerger Merge Worker

View File

@@ -106,7 +106,8 @@ public class InsetsStateControllerTest extends WindowTestsBase {
getController().getSourceProvider(ITYPE_STATUS_BAR).setWindow(statusBar, null, null); getController().getSourceProvider(ITYPE_STATUS_BAR).setWindow(statusBar, null, null);
getController().getSourceProvider(ITYPE_NAVIGATION_BAR).setWindow(navBar, null, null); getController().getSourceProvider(ITYPE_NAVIGATION_BAR).setWindow(navBar, null, null);
getController().getSourceProvider(ITYPE_IME).setWindow(ime, 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 @Test