Skip to content

Commit 82fa5ae

Browse files
committed
Minor comment updates
1 parent ec477f3 commit 82fa5ae

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

sentry-android-core/src/main/java/io/sentry/android/core/internal/util/SentryFrameMetricsCollector.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,8 @@ public SentryFrameMetricsCollector(
126126
// Most considerations regarding timestamps of frames are inspired from JankStats library:
127127
// https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:metrics/metrics-performance/src/main/java/androidx/metrics/performance/JankStatsApi24Impl.kt
128128

129-
// The Choreographer instance and private field reflection must be accessed asynchronously on
130-
// the main thread to avoid blocking SDK init. getLastKnownFrameStartTimeNanos() uses this for
131-
// pending frame interpolation on all supported API levels.
129+
// The Choreographer instance should be initialized asynchronously on the main thread to avoid
130+
// reflection during SDK init.
132131
new Handler(Looper.getMainLooper())
133132
.post(
134133
() -> {

0 commit comments

Comments
 (0)