Repository navigation
Commit e1852cc
ref(android): Mark AppStartMetrics.setAppStartType as @testonly
No production code calls this setter; the cold/warm classification assigns
the field directly. Its only callers are the 45 test sites that seed a start
type, so annotate it the way the neighboring test seams (setFirstIdle,
getFirstIdle, clear) already are.
It has to stay public: 37 of those call sites live in io.sentry.android.core,
a different package from AppStartMetrics.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 033ce52 commit e1852cc
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
159 | 164 | | |
160 | 165 | | |
161 | 166 | | |
| |||
0 commit comments