Fix NavBar & StatusBar layer always visible assertion
When phone rotates, the status bar and navigation bar layers hide and then become visible again. The navBarLayerIsAlwaysVisible and statusBarLayerIsAlwaysVisible where only checking that the layer was always being shown. As part of the current behaviour, if the screen rotates, we need to check that the layer behaves this way: shows, hide, shows. Besides adding the new behaviour in the assertions, we are enabling again this assertions for some tests that had it disabled as part of the bug (OpenAppCold, OpenAppWarm, CloseImeAutoOpenWindow and CloseImeWindowToHome).
Test: atest FlickerTests:OpenAppColdTest FlickerTests:OpenAppWarmTest FlickerTests:CloseImeAutoOpenWindowToHomeTest FlickerTests:CloseImeWindowToHomeTest
Bug: b/140855415
Change-Id: I60a331a4a1242ef84acf93e2738bd9f4f92d51c5
5 files changed