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

Commit 3aad1910 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:...

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

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

Change-Id: I92a89e6afab6baad2a696172f84f2735bff4b4c7
parents 4ac80cfc ebd5983e
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();
        }
    }