summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-05-12 17:10:54 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-05-12 15:21:17 +0000
commit19da8aeb71a0e5ef1ef23337acae353a0da50663 (patch)
tree7cec8256fe2aa683e5794134b396c1f48faf3478 /libs/androidfw/AssetsProvider.cpp
parent89d3076a6210ddbe977099cf3024829b61024188 (diff)
Reduce flickering when swiping auto-pip with orientation change
This reuses the partial legacy path to avoid sending additional configuration change from display rotation to PiP task before setting the destinations PiP bounds. The rough steps: Transient transition finishes -> Update task to pip -> Transition with pip and display change -> PipTransition applies surface transform in new rotation (handleSwipePipToHomeTransition, the startTransaction contains display projection) -> onFinishResize applies the PiP bounds in new rotation. Bug: 281741016 Test: Swipe an auto-pip activity from landscape to portrait. No obvious flickering. Change-Id: I0f6cc6f09cecb3b3e2b6365827002f76ae13d57f
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions