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

Commit bb414bfe authored by Evan Rosky's avatar Evan Rosky Committed by Android (Google) Code Review
Browse files

Merge "Start dim animations on pending vs sync transaction" into rvc-dev

parents 08465447 b6238135
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -290,7 +290,7 @@ public class DisplayArea<T extends WindowContainer> extends WindowContainer<T> {
                mDimmer.resetDimStates();
            }

            if (mDimmer.updateDims(getSyncTransaction(), mTmpDimBoundsRect)) {
            if (mDimmer.updateDims(getPendingTransaction(), mTmpDimBoundsRect)) {
                scheduleAnimation();
            }
        }
+1 −1
Original line number Diff line number Diff line
@@ -3507,7 +3507,7 @@ class Task extends WindowContainer<WindowContainer> {

        updateShadowsRadius(isFocused(), getSyncTransaction());

        if (mDimmer.updateDims(getSyncTransaction(), mTmpDimBoundsRect)) {
        if (mDimmer.updateDims(getPendingTransaction(), mTmpDimBoundsRect)) {
            scheduleAnimation();
        }
    }