summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2020-05-20 22:02:39 -0700
committerWinson Chung <winsonc@google.com>2020-05-22 17:52:34 +0000
commitc5316829be81b2ae6de6d793b201e9875079dfc7 (patch)
treed8ded821beb2086bf42145b26f2a9cd1d829e0e9 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf31ae3b370681bac6919f0dc3ba1addf9d45159f (diff)
Fix some flakiness with rotation
- We can't use WM.getStableInsets() because this returns the insets from the previous orientation when handling the display changing callback. Instead we need to track and update a display layout - On rotation, the existing offsets from the previous orientation can trigger the pip to shift to the bottom due to mMovementBoundsExtraOffsets still being set. Since we are positioning the PIP at a specific snap fraction on rotation, we can reset all the offsets as they will (or will not) be reapplied in the new orientation Change-Id: I675283c9c4edf02b302b08a99fd8a82d2e7c5be2 Bug: 156791199 Test: atest PinnedStackTests Test: atest PipAnimationControllerTest Test: atest PipBoundsHandlerTest
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions