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

Commit 53785407 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 am:...

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

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

Change-Id: I47e437b8b3b3a4b1f30432e9838cbc33f3402a07
parents 26f1d01e d797785b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -275,7 +275,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;
        }