Merge "Updates enterPictureInPicture API doc" into rvc-dev am: 997150ee0a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/10961377

Change-Id: Ic4d994aa3635098e269dc3e198a96ad84f976910
This commit is contained in:
Hongwei Wang
2020-06-22 18:27:57 +00:00
committed by Automerger Merge Worker

View File

@@ -2816,6 +2816,11 @@ public class Activity extends ContextThemeWrapper
* The system may disallow entering picture-in-picture in various cases, including when the
* activity is not visible, if the screen is locked or if the user has an activity pinned.
*
* <p>By default, system calculates the dimension of picture-in-picture window based on the
* given {@param params}.
* See <a href="{@docRoot}guide/topics/ui/picture-in-picture">Picture-in-picture Support</a>
* on how to override this behavior.</p>
*
* @see android.R.attr#supportsPictureInPicture
* @see PictureInPictureParams
*