diff options
author | Yunfan Chen <yunfanc@google.com> | 2019-02-07 22:02:08 +0900 |
---|---|---|
committer | Yunfan Chen <yunfanc@google.com> | 2019-02-07 22:02:08 +0900 |
commit | 5e696f1c642197331d75edc9b8dc3a715db4b077 (patch) | |
tree | f995cb598e84da40a50108a035a5daceb49bf5f2 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 2d0c0e786f0cf33653ac210805348e7430f9dec9 (diff) |
Fix flaky WindowStateTests
The test testVisibleWithInsetsProvider was flaky because the provider
cannot control the visibility if the USE_NEW_INSETS_PROPERTY in system
property is not NEW_INSETS_MODE_FULL. In order to test the provider
visibility controlling functionality, we need to make the top bar insets
controllable.
To do so, we need to update sNewInsetsMode in ViewRootImpl for the
test.
Test: atest WindowStateTests
Bug: 74078662
Bug: 69229402
Change-Id: If6aba86e3c5a55dd0976ddda3a93f003ebaf5712
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions