Fix display changed flag check optimization am: 655b47c614
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11788843 Change-Id: Iceb52a6c402597c7ae2bae2a81f82d9d7563c756
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user