fix first frame reporting logic (#3640)
This commit is contained in:
@@ -206,7 +206,7 @@ abstract class WidgetsBinding extends BindingBase implements GestureBinding, Ren
|
||||
buildOwner.finalizeTree();
|
||||
// TODO(ianh): Following code should not be included in release mode, only profile and debug modes.
|
||||
if (_needToReportFirstFrame) {
|
||||
if (_thisFrameWasUseful) {
|
||||
if (!_thisFrameWasUseful) {
|
||||
_thisFrameWasUseful = true;
|
||||
} else {
|
||||
developer.Timeline.instantSync('Widgets completed first useful frame');
|
||||
|
||||
Reference in New Issue
Block a user