Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
markushi committed Nov 24, 2023
1 parent 69aca74 commit e856b81
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,13 @@ class AndroidEnvelopeCacheTest {

if (appStartMillis != null) {
AppStartMetrics.getInstance().apply {
appStartTimeSpan.setStartedAt(appStartMillis)
appStartTimeSpan.setStartUnixTimeMs(appStartMillis)
if (options.isEnableStarfish) {
appStartTimeSpan.setStartedAt(appStartMillis)
appStartTimeSpan.setStartUnixTimeMs(appStartMillis)
} else {
legacyAppStartTimeSpan.setStartedAt(appStartMillis)
legacyAppStartTimeSpan.setStartUnixTimeMs(appStartMillis)
}
}
}
if (currentTimeMillis != null) {
Expand Down

0 comments on commit e856b81

Please sign in to comment.