diff options
| author | 2025-03-20 01:05:44 -0700 | |
|---|---|---|
| committer | 2025-03-20 14:40:40 -0700 | |
| commit | cceba462725c78e2d89e02780cfe33d058d61b81 (patch) | |
| tree | 27f8ae561395d288d74063095bb9a08bb1e893ac /libs/androidfw/FileStream.cpp | |
| parent | 09e40abb761d4c339b0bb0746aacc3f0bdf06f7e (diff) | |
Use ActivityClientController#enterPictureInPictureMode when restoring to
WINDOWING_MODE_PINNED
When a task is restoring to pip using Activity#requestFullscreenMode, a transition is started to restore the windowing mode to pinned. Shell is currently not handling this correctly. While PipTransition is animating the task to pip, PipController#onActivityPinned is not being called and, among other things, the input consumer is not being registered.
This change uses the existing framework to request pip when attempting to restore to WINDOWING_MODE_PINNED so that the transition is correctly handled.
Flag: com.android.window.flags.enable_request_fullscreen_bugfix
Bug: 404901863
Test: Test entering fullscreen/restoring to pip using test app
Change-Id: I5a3af5cecc7623d23d13e2e39307e3787ee47b68
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions