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

Commit 0fb6c351 authored by Kacper Kapłon's avatar Kacper Kapłon
Browse files

Add isInteractivePictureInPicture attribute to TaskInfo

To be used to persist iPiP request from ActivityOptions,
mainly for WM. go/interactive-pip

Bug: 399376001
Bug: 432179290
Flag: com.android.window.flags.enable_interactive_picture_in_picture
Test: N/A
Change-Id: Ib352d2d114711e838c1d568c546807da712c5221
parent dddaca50
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -418,6 +418,12 @@ public class TaskInfo {
    @Nullable
    public Rect topActivityMainWindowFrame;

    /**
     * Whether the Task should be an Interactive Picture-in-Picture window.
     * @hide
     */
    public boolean isInteractivePictureInPicture;

    TaskInfo() {
        // Do nothing
    }