summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Jorge Gil <jorgegil@google.com> 2023-07-05 16:31:03 +0000
committer Jorge Gil <jorgegil@google.com> 2023-07-05 16:31:03 +0000
commit2d2c0e68987b478c860e3876c5457d4c5b3954d5 (patch)
treeaeda4d302f8b331bfbd434020636ae2cd49df5b0 /libs/androidfw/ObbFile.cpp
parent7baeec3cac767d5e9fccedef01d248a28cf75422 (diff)
Use shell transitions to finalize cancel-to-desktop
When a to-desktop transition is cancelled, a WCT changing the task's windowing mode to fullscreen was applied using #applyTransaction, which meant that our transition observer doesn't get notified of the change that allows it to swap the window decoration from the desktop to the fullscreen version. onTaskInfoChanged usually covers cases that transitions don't, but in this case TaskListeners may just get a vanish callback for the freeform trask and an appear callback for the fullscreen task. To avoid mixing these two channels this CL changes the WCT to be applied using shell transitions. It's also likely that it'll need to be animated in the future to prevent a jump cut from one config to the next. Bug: 290050157 Test: drag from fullscreen to desktop without releasing, drag back to top to cancel the transition. Verify the caption version is correct. Change-Id: I87ffaab5fc1b88a58b3d075a341a1e2a204a34cb
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions