diff options
| author | 2024-01-25 15:31:54 -0800 | |
|---|---|---|
| committer | 2024-02-13 18:34:52 +0000 | |
| commit | 6fbb81d669195dd449542c9a935d83a7be6f8601 (patch) | |
| tree | b58a8791e4fda536db7d776b2e254c84a3a8d3ec /libs/androidfw/ResourceTimer.cpp | |
| parent | 3bc0920728adb589d2d066b145e072b348d5c97d (diff) | |
Implement enable_pip_ui_state_callback_on_entering
- It's sent from PipTransitionController when we start and finish the
animation
- Removed the restriction that onPictureInPictureUiStateChanged can only
be sent to a pinned task, since this entering PiP callback would be
received when the task is still in full-screen
Note that there is no isExitingPip API being added here since
- apps normally do not restore overlays such as video controls when
exiting from PiP
- if apps do want to restore the overlays, it maybe preferred to do that
in onPictureInPictureModeChanged(isInPictureInPictureMode=false)
callback rather than the beginning of exit PiP animation
Bug: 303718131
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/dXf5BdzkfR4i2ZNdTLJSaD
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/ho9HTL5X7mneQoJMiHCBYY
Flag: ENABLE_PIP_UI_STATE_CALLBACK_ON_ENTERING
Test: manually, see videos
Test: atest PinnedStackTests
Change-Id: I3137b9c1505443efb633d086fbf6ceee477a4b73
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions