allowFirstFrameReport method

  1. @Deprecated('Use deferFirstFrame/allowFirstFrame to delay rendering the first frame. ' 'This feature was deprecated after v1.12.4.')
void allowFirstFrameReport ()
@Deprecated('Use deferFirstFrame/allowFirstFrame to delay rendering the first frame. ' 'This feature was deprecated after v1.12.4.')

When called after deferFirstFrameReport: tell the framework to report the frame it is building as a "useful" first frame.

Deprecated. Use deferFirstFrame/allowFirstFrame to delay rendering the first frame.

Implementation

@Deprecated(
  'Use deferFirstFrame/allowFirstFrame to delay rendering the first frame. '
  'This feature was deprecated after v1.12.4.'
)
void allowFirstFrameReport() {
  if (!kReleaseMode) {
    allowFirstFrame();
  }
}