Fix display changed flag check optimization am: 655b47c614 am: 433d8ca00f am: 22a9c90303
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11788843 Change-Id: I665fe7d2a697891f1fa7b46df0233f4ccd2203dc
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