You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/dd-sdk-android-rum/src/main/kotlin/com/datadog/android/rum/internal/metric/interactiontonextview/InteractionToNextViewMetricResolver.kt
-9Lines changed: 0 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -68,15 +68,6 @@ internal class InteractionToNextViewMetricResolver(
68
68
returnnull
69
69
}
70
70
}
71
-
// in case there are no previous interactions for this view and there's only one view created
72
-
// we are probably in the first view of the app (AppLaunch) and we can't calculate the metric
73
-
if (lastViewCreatedTimestamps.size >1) {
74
-
internalLogger.log(
75
-
InternalLogger.Level.WARN,
76
-
InternalLogger.Target.MAINTAINER,
77
-
{ "[ViewNetworkSettledMetric] No previous interaction found for this viewId:$viewId" }
Copy file name to clipboardExpand all lines: features/dd-sdk-android-rum/src/test/kotlin/com/datadog/android/rum/internal/metric/interactiontonextview/InteractionToNextViewMetricResolverTest.kt
-15Lines changed: 0 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -283,11 +283,6 @@ internal class InteractionToNextViewMetricResolverTest {
283
283
284
284
// Then
285
285
assertThat(result).isNull()
286
-
mockInternalLogger.verifyLog(
287
-
InternalLogger.Level.WARN,
288
-
InternalLogger.Target.MAINTAINER,
289
-
"[ViewNetworkSettledMetric] No previous interaction found for this viewId:$fakeViewId"
290
-
)
291
286
}
292
287
293
288
@Test
@@ -317,11 +312,6 @@ internal class InteractionToNextViewMetricResolverTest {
317
312
318
313
// Then
319
314
assertThat(result).isNull()
320
-
mockInternalLogger.verifyLog(
321
-
InternalLogger.Level.WARN,
322
-
InternalLogger.Target.MAINTAINER,
323
-
"[ViewNetworkSettledMetric] No previous interaction found for this viewId:$fakeViewId"
324
-
)
325
315
}
326
316
327
317
@Test
@@ -339,11 +329,6 @@ internal class InteractionToNextViewMetricResolverTest {
339
329
340
330
// Then
341
331
assertThat(result).isNull()
342
-
mockInternalLogger.verifyLog(
343
-
InternalLogger.Level.WARN,
344
-
InternalLogger.Target.MAINTAINER,
345
-
"[ViewNetworkSettledMetric] No previous interaction found for this viewId:$fakeViewId"
0 commit comments