diff options
| author | 2024-03-14 19:17:07 -0700 | |
|---|---|---|
| committer | 2024-03-21 04:52:03 +0000 | |
| commit | 8365273c0b5e015c0d79af0fb9d0ef32e6c5d3d6 (patch) | |
| tree | 26c6d74b082b17258d99a06579d334765558b602 /libs/androidfw/ZipFileRO.cpp | |
| parent | dc57784603d6250a2d97b5e52d24c8483029a460 (diff) | |
Wrap Activity->Activity changes in non-activity transitions
When an Activity->Activity transition gets combined into a
non-activity transition, the anim-root no-longer properly
crops the activities and the activities also aren't offset
properly.
This fixes the offset by calculating offset from anim-root
instead of using endRelOffset (which is relative to the
true parent surface). Then, if it detects activity change
in non-activity task, it will create a wrapper surface.
Bug: 322113725
Test: use a test-app or otherwise have an activity->activity
change happen at same time as translucent task closes.
Change-Id: I5e6c083e9c9f8c82ec8ffe6828d607fc019aeb59
(cherry picked from commit 163d0a7c6fd7a2d63d08181832ce8f80a74dde13)
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions