summaryrefslogtreecommitdiff
path: root/libs/androidfw/BigBufferStream.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-11-30 16:59:51 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-12-01 16:05:54 +0000
commitb7693ffa15b5e4629c613d373d4bddd929c70ddb (patch)
tree197e7a049f27e46e98d13a0eb7babd5e18cc239e /libs/androidfw/BigBufferStream.cpp
parent1f50aa3cbf58d917b903d1733cccb619fdfbd8b3 (diff)
Ensure activity configuration when applying WCT with display change
This fixes two cases: 1. Because WOC#applyTransaction always defers visibility(config) update, the ensureActivitiesVisible in ATMS#ensureConfigAndVisibilityAfterUpdate is always no-op, if there are non-top visible activities, their configuration won't be delivered to clients in time. E.g. Launch a translucent task and rotate device, then if the activity behind is slow to relaunch, it may flash back content. 2. ATMS#ensureConfigAndVisibilityAfterUpdate always updates config for top activity. When rotating display with split-screen, the WCT also contains the operation to set task bounds. Then it will cause redundant activity relaunch. Fix: 313910429 Test: atest DisplayContentTests#testShellTransitRotation Change-Id: I8c2e4d1d7ac5d3afe832ced31588f15cc24b8d81
Diffstat (limited to 'libs/androidfw/BigBufferStream.cpp')
0 files changed, 0 insertions, 0 deletions