Files
frameworks_base/core/java/android/app
Ben Lin ca25625601 Add Activity#onPictureInPictureUiStateChanged and PictureInPictureUiState.
This adds a new API on Activity such that app developers can get signals
when certain PiP UI states change, e.g. stash/unstashed. The idea is that
when PiP is stashed, the activity will get a signal to do anything they
wish, such as pausing/resuming video-like contents.

Bug: 182409584
Test: atest PinnedStackTests#testPictureInPictureStateChangeCallback
Change-Id: I308f3f1c3af8d1a54b63311fb3beaee77d6c7922
2021-04-15 13:42:17 -07:00
..
2021-03-23 11:25:29 +00:00
2021-04-07 13:47:32 +00:00
2021-03-05 19:59:28 -07:00
2021-01-19 14:24:10 -08:00
2021-04-08 23:56:27 +00:00
2021-02-08 16:20:28 +00:00
2021-04-15 02:45:36 +00:00