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

Commit bb6a6dbd 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: I9970e4d274788df356afb17fb42db173913220fe
parents 8d003e7a 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();
        }
    }