summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorHongwei Wang <hwwang@google.com>2019-11-07 16:00:32 -0800
committerHongwei Wang <hwwang@google.com>2019-11-08 14:02:01 -0800
commite75e191b3dfd069b4035b1768d2696f1be37273f (patch)
tree4c3cdbd1abd61cc453f2a6dbe9c53129d039289a /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd660afae5700e2890a11573d3ddbd2ae8a3b30fc (diff)
Fixes regression on preserving PiP position
The reentry fraction of PiP is used to be saved in ActivityRecord.onConfigurationChanged when activity leaves PiP mode to fullscreen. With ag/9539033, the pinned stack gets removed ahead of this configuration change and therefore, there is no bounds to save. The new approach is to move the saving logic to TaskRecord.reparent, right before the pinned stack is removed due to reparenting. Bug: 144099989 Test: atest PinnedStackTests#testEnterPictureInPictureSavePosition Change-Id: Iceaf7244f16ed0ca1450e3117b85fd6b3d97313c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions