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

Commit 3b3c628f authored by Tony Huang's avatar Tony Huang Committed by Android (Google) Code Review
Browse files

Merge "[DO NOT MERGE] Fix founction not found on tm cts tests" into tm-qpr-dev

parents 0ea4431a 15578338
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3400,6 +3400,7 @@ package android.window {
    method @NonNull public android.window.WindowContainerTransaction scheduleFinishEnterPip(@NonNull android.window.WindowContainerToken, @NonNull android.graphics.Rect);
    method @NonNull public android.window.WindowContainerTransaction setActivityWindowingMode(@NonNull android.window.WindowContainerToken, int);
    method @NonNull public android.window.WindowContainerTransaction setAdjacentRoots(@NonNull android.window.WindowContainerToken, @NonNull android.window.WindowContainerToken);
    method @Deprecated @NonNull public android.window.WindowContainerTransaction setAdjacentRoots(@NonNull android.window.WindowContainerToken, @NonNull android.window.WindowContainerToken, boolean);
    method @NonNull public android.window.WindowContainerTransaction setAdjacentTaskFragments(@NonNull android.os.IBinder, @Nullable android.os.IBinder, @Nullable android.window.WindowContainerTransaction.TaskFragmentAdjacentParams);
    method @NonNull public android.window.WindowContainerTransaction setAppBounds(@NonNull android.window.WindowContainerToken, @NonNull android.graphics.Rect);
    method @NonNull public android.window.WindowContainerTransaction setBounds(@NonNull android.window.WindowContainerToken, @NonNull android.graphics.Rect);
+13 −0
Original line number Diff line number Diff line
@@ -391,6 +391,19 @@ public final class WindowContainerTransaction implements Parcelable {
        return this;
    }

    /**
     * This is temp function for compatible with old cts tests suite and it equal to
     * {@link #setAdjacentRoots(WindowContainerToken, WindowContainerToken).
     * @deprecated should use {@link #setAdjacentRoots(WindowContainerToken, WindowContainerToken)}
     */
    @Deprecated
    @NonNull
    public WindowContainerTransaction setAdjacentRoots(
            @NonNull WindowContainerToken root1, @NonNull WindowContainerToken root2,
            boolean moveTogether) {
        return setAdjacentRoots(root1, root2);
    }

    /**
     * Sets the container as launch adjacent flag root. Task starting with
     * {@link FLAG_ACTIVITY_LAUNCH_ADJACENT} will be launching to.