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

Commit 16491633 authored by Tracy Zhou's avatar Tracy Zhou Committed by Android (Google) Code Review
Browse files

Merge "Do not change layering for non live tile tasks rendering" into tm-qpr-dev

parents 82363132 668eec1e
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -102,7 +102,7 @@ public class TaskViewSimulator implements TransformParams.BuilderProxy {
    private boolean mLayoutValid = false;
    private boolean mLayoutValid = false;
    private int mOrientationStateId;
    private int mOrientationStateId;
    private SplitBounds mSplitBounds;
    private SplitBounds mSplitBounds;
    private boolean mDrawsBelowRecents;
    private Boolean mDrawsBelowRecents = null;
    private boolean mIsGridTask;
    private boolean mIsGridTask;
    private int mTaskRectTranslationX;
    private int mTaskRectTranslationX;
    private int mTaskRectTranslationY;
    private int mTaskRectTranslationY;
@@ -391,7 +391,8 @@ public class TaskViewSimulator implements TransformParams.BuilderProxy {
                .withWindowCrop(mTmpCropRect)
                .withWindowCrop(mTmpCropRect)
                .withCornerRadius(getCurrentCornerRadius());
                .withCornerRadius(getCurrentCornerRadius());


        if (ENABLE_QUICKSTEP_LIVE_TILE.get()) {
        // If mDrawsBelowRecents is unset, no reordering will be enforced.
        if (ENABLE_QUICKSTEP_LIVE_TILE.get() && mDrawsBelowRecents != null) {
            // In legacy transitions, the animation leashes remain in same hierarchy in the
            // In legacy transitions, the animation leashes remain in same hierarchy in the
            // TaskDisplayArea, so we don't want to bump the layer too high otherwise it will
            // TaskDisplayArea, so we don't want to bump the layer too high otherwise it will
            // conflict with layers that WM core positions (ie. the input consumers).  For shell
            // conflict with layers that WM core positions (ie. the input consumers).  For shell