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

Commit ebd5983e authored by Evan Rosky's avatar Evan Rosky Committed by Automerger Merge Worker
Browse files

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11923901

Change-Id: I2674b969f3ac0c72f728099c564b1c43d2f602f2
parents d8b6dc30 bb414bfe
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();
        }
    }