diff options
author | Ben Lin <linben@google.com> | 2021-03-24 17:09:35 -0700 |
---|---|---|
committer | Ben Lin <linben@google.com> | 2021-04-15 13:42:17 -0700 |
commit | ca25625601c0d74a819f42f686ae5c2cf38bb8dd (patch) | |
tree | ecdff872135389156f8e36dbdfa1a350606cdbe1 /services/java/com/android/server/SystemServer.java | |
parent | 1430546720742776de5dfcedf5267986aa07c1f6 (diff) |
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
Diffstat (limited to 'services/java/com/android/server/SystemServer.java')
0 files changed, 0 insertions, 0 deletions