diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java index 22a63d9b486b5..3772755beca18 100644 --- a/core/java/android/app/Activity.java +++ b/core/java/android/app/Activity.java @@ -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. * + *

By default, system calculates the dimension of picture-in-picture window based on the + * given {@param params}. + * See Picture-in-picture Support + * on how to override this behavior.

+ * * @see android.R.attr#supportsPictureInPicture * @see PictureInPictureParams *