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

Commit 40fe9109 authored by Vinit Nayak's avatar Vinit Nayak Committed by Automerger Merge Worker
Browse files

Fix display changed flag check optimization am: 655b47c6 am: 433d8ca0

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11788843

Change-Id: I1a1f53bbbf2e48f81d73fcf582fcde17450f8ef2
parents 18e05526 433d8ca0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -261,7 +261,7 @@ public class RecentsAnimationDeviceState implements

    @Override
    public void onDisplayInfoChanged(DefaultDisplay.Info info, int flags) {
        if (info.id != getDisplayId() || (flags & CHANGE_FRAME_DELAY) == CHANGE_FRAME_DELAY) {
        if (info.id != getDisplayId() || flags == CHANGE_FRAME_DELAY) {
            // ignore displays that aren't running launcher and frame refresh rate changes
            return;
        }