summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupData.cpp
diff options
context:
space:
mode:
author Johannes Gallmann <gallmann@google.com> 2024-04-17 12:24:07 +0000
committer Johannes Gallmann <gallmann@google.com> 2024-04-26 12:27:08 +0000
commitff6b4983ab6cb93a1069419746abe95f56b8334d (patch)
tree2e3a528a6f98b1d4ac8ee701fa759d3a35c67a59 /libs/androidfw/BackupData.cpp
parent937bbe8baad6f0a93a3033d9c44a875747082685 (diff)
Play cross-activity back animation without letterboxes
When the closing and entering activity are both letterboxed and they have the same localBounds, let's exclude the letterbox areas from the animation and play the animation on the actual activity content instead. To do so, the letterbox areas are cropped from the animation targets and artificial letterbox layers are added instead. Bug: 328446606 Flag: ACONFIG com.android.window.flags.predictive_back_system_anims NEXTFOOD Test: Manual, i.e. testing back animation in letterboxed app (and verifying no regressions in landscape, vertical and horizontal split screen, large screen, light mode, dark mode, resizeableActivity=false etc.) Change-Id: I838c1bbc41949a69214f170501c777f4f305703b
Diffstat (limited to 'libs/androidfw/BackupData.cpp')
0 files changed, 0 insertions, 0 deletions