Loading core/java/android/view/Choreographer.java +3 −4 Original line number Diff line number Diff line Loading @@ -1168,10 +1168,9 @@ public final class Choreographer { */ FrameTimeline update( long frameTimeNanos, DisplayEventReceiver.VsyncEventData vsyncEventData) { if (vsyncEventData.frameTimelinesLength == 0) { throw new IllegalArgumentException( "Vsync event timelines length must be greater than 0"); } // Even if the frame timelines length is 0, continue with allocation for API // FrameData.getFrameTimelines consistency. The 0 length frame timelines code path // should only occur when USE_VSYNC property is false. if (mFrameTimelines.length != vsyncEventData.frameTimelinesLength) { allocateFrameTimelines(vsyncEventData.frameTimelinesLength); } Loading Loading
core/java/android/view/Choreographer.java +3 −4 Original line number Diff line number Diff line Loading @@ -1168,10 +1168,9 @@ public final class Choreographer { */ FrameTimeline update( long frameTimeNanos, DisplayEventReceiver.VsyncEventData vsyncEventData) { if (vsyncEventData.frameTimelinesLength == 0) { throw new IllegalArgumentException( "Vsync event timelines length must be greater than 0"); } // Even if the frame timelines length is 0, continue with allocation for API // FrameData.getFrameTimelines consistency. The 0 length frame timelines code path // should only occur when USE_VSYNC property is false. if (mFrameTimelines.length != vsyncEventData.frameTimelinesLength) { allocateFrameTimelines(vsyncEventData.frameTimelinesLength); } Loading