summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-04-11 18:44:54 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-04-11 22:15:53 +0800
commitbf1818439f5c0e509a1e5b4ac87c0b4d091a2a5a (patch)
treeb9fa70c9ef7ab694df1252e09efb1eb064557944 /libs/androidfw/ApkParsing.cpp
parent9338d0cce3e9e7208c92f4d97b0ead44e37f3ad9 (diff)
Re-show faded PiP when fixed rotation is finished
PiP will be faded out if there is orientation change when switching app (onFixedRotationStarted), and then fade in with display transition from startAnimation -> fadeExistingPip. But if there is no app switch, such as entering recent and then return to current app, the signal to re-show the PiP was missed in shell transition. So still listen to onFixedRotationFinished and restore the visibility of PiP when the transition is idle. Bug: 262835608 Test: Enter PiP in portrait. Launch a rotatable app. Rotate screen to landscape. Either: - Swipe up and down to cancel. - Swipe up to enter recent. Click the current app to return. Though the PiP will be fade out during swipe-up gesture. After return to current app, the PiP should be still visible. Change-Id: Ieb47eceaa5e8e7ff710a0fd6ab8319d1a3463985
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions