Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57ab7c77 authored by Hongwei Wang's avatar Hongwei Wang
Browse files

Updates enterPictureInPicture API doc

enterPictureInPicture doc is updated with the instruction on how to
override the picture-in-picture window size.

Bug: 144849584
Change-Id: Ia36b307d8620924848dfee6856c90b68edc22f35
parent 9d3f5888
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2823,6 +2823,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
     *