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

Commit bc5ed15b authored by Rachel Lee's avatar Rachel Lee Committed by Android (Google) Code Review
Browse files

Merge "Choreographer: Log instead of crash on frame late" into main

parents 3dbbb98f 1c35b549
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1260,10 +1260,10 @@ public final class Choreographer {
                DisplayEventReceiver.VsyncEventData latestVsyncEventData =
                        displayEventReceiver.getLatestVsyncEventData();
                if (latestVsyncEventData == null) {
                    throw new IllegalArgumentException(
                            "Could not get VsyncEventData. Did SurfaceFlinger crash?");
                }
                    Log.w(TAG, "Could not get latest VsyncEventData. Did SurfaceFlinger crash?");
                } else {
                    update(frameTimeNanos, latestVsyncEventData);
                }
            } else {
                update(frameTimeNanos, newPreferredIndex);
            }