[E2E] Fix fold/unfold insets and whether ToEdge
Fixes a problem when folding/unfolding a foldable. The code execution sequence should handle this automatically but it appears there are timing issues. In this workaround we just check whenever insets change whether the device is still in a supported configuration and use that as an override for whether or not to draw ToEdge. BUG=b/41492043, https://crbug.com/325356134 Change-Id: I8a9e20ab27475b95c30ef8c0d14344fa257e3be4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5270117 Reviewed-by:Theresa Sullivan <twellington@chromium.org> Auto-Submit: Donn Denman <donnd@chromium.org> Reviewed-by:
Lijin Shen <lazzzis@google.com> Commit-Queue: Donn Denman <donnd@chromium.org> Cr-Commit-Position: refs/heads/main@{#1261965}
Loading
Please register or sign in to comment