diff options
author | Charles Chen <charlesccchen@google.com> | 2018-12-18 17:51:56 +0800 |
---|---|---|
committer | Charles Chen <charlesccchen@google.com> | 2018-12-18 19:51:47 +0800 |
commit | 5bdd3e27fb04a4cbba97cccb9562f520c4f2949d (patch) | |
tree | b924727016d51eba62e7a07c7317986afe302009 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 29ca21ba8ed11ef369d8047da6dad1b05e798486 (diff) |
Fix navigation bar flaky tests
The flakiness is because the timing issue on hasNavigationBar.
When a new display is added, onDisplayAdded is called and we may try to
add nav bar before DisplayPolicy#configure is called, which sets
mHasNavigationBar value. Therefore, we may get false from
hasNavigationBar even if a display does support system decorations.
Fixes: 120748674
Test: atest ActivityManagerMultiDisplayTests
Test: atest
ActivityManagerMultiDisplayTests#testNavBarShowingOnDisplayWithDecor *
100
Change-Id: Idb3c3d0874c15a466d179cc471ade5cea890e20e
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions