Merge "Fix display changed flag check optimization" into ub-launcher3-rvc-dev

This commit is contained in:
TreeHugger Robot 2020-06-08 23:26:12 +00:00 committed by Android (Google) Code Review
commit 4994b333d9
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,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;
}