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

Commit 22a9c903 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: Ice561e36577e6666757a02c8b7e6483841eb23ad
parents a689e402 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;
        }