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

Commit f79deba8 authored by Evan Rosky's avatar Evan Rosky
Browse files

Fix PartialWakeLock regression

Removed mAnimating due to it always being false, but accidentally
read a condition backwards and removed a line instead of making
it always run. This line caused WindowAnimator to run continuously
even when there was nothing to animate

Bug: 150486411
Test: PowerTest#power2PartialWakeLockCheckTest passes again
Change-Id: Ia0ab48103d4c34edbac1ad08b3aab1b5723db2ea
parent 5338509b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -164,6 +164,8 @@ public class WindowAnimator {
                    }
                }

                cancelAnimation();

                if (mService.mWatermark != null) {
                    mService.mWatermark.drawIfNeeded();
                }