File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
firebase-perf/src/test/java/com/google/firebase/perf/application Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ public void screenTrace_twoActivities_traceStartedAndStoppedWithActivityLifecycl
366
366
int startTime = i * 100 ;
367
367
int endTime = startTime + 10 ;
368
368
currentTime = startTime ;
369
- monitor .onActivityStarted (activity );
369
+ monitor .onActivityResumed (activity );
370
370
assertThat (monitor .getActivity2ScreenTrace ()).hasSize (1 );
371
371
currentTime = endTime ;
372
372
monitor .onActivityPostPaused (activity );
@@ -418,7 +418,7 @@ public void screenTrace_perfMonEnabledSwitchAtRuntime_traceCreationDependsOnRunt
418
418
419
419
// Assert that screen trace has been created.
420
420
currentTime = 100 ;
421
- monitor .onActivityStarted (activityWithNonHardwareAcceleratedView );
421
+ monitor .onActivityResumed (activityWithNonHardwareAcceleratedView );
422
422
assertThat (monitor .getActivity2ScreenTrace ()).hasSize (1 );
423
423
currentTime = 200 ;
424
424
monitor .onActivityPostPaused (activityWithNonHardwareAcceleratedView );
You can’t perform that action at this time.
0 commit comments