diff options
author | Diego Vela <diegovela@google.com> | 2021-11-04 21:08:27 -0700 |
---|---|---|
committer | Diego Vela <diegovela@google.com> | 2021-11-16 14:57:23 -0800 |
commit | ae42f512dfc219d9cec9f9f0e91ff700745df026 (patch) | |
tree | 0e02850e7195f9e70f5b8d0f678d775adea5337b /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 7e37ab845dd11f6d95b8506d7f168e18de287ce6 (diff) |
Ignore folding feature when it is not on the active display.
Ignore the folding feature states that are not reported through
extensions. There is a crash when trying to process a folding
feature while the corresponding display is not active. We had a
fallback value for the posture of flat but the bounds that we
calculated would be incorrect. We removed the default value
and ignore the folding feature when the corresponding display
is not active.
Bug: 204477995
Test: manual - install the samples app from WindowManager
Test: close a folding device and open the samples app
Test: select the display feature sample.
Test: app should not crash.
Change-Id: I102ed61618915ae6782c40964882a54184538e81
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions