Repository navigation
Commit 337a9f1
ref(android): Remove unused lock from SentryPerformanceProvider (#5871)
* ref(android): Remove unused lock from SentryPerformanceProvider
The field was added in #3715 to guard onAppStartDone(), its only user. That
method was removed in the 8.x.x merge (#4033), leaving the lock orphaned — it
has been allocated on every cold start since, in ContentProvider.onCreate,
without ever being acquired.
The ISentryLifecycleToken import stays: it is still used for
AppStartMetrics.staticLock in shutdown().
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* changelog
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 82973ef commit 337a9f1
2 files changed
Lines changed: 6 additions & 2 deletions
File tree
- sentry-android-core/src/main/java/io/sentry/android/core
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
49 | | - | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
| |||
0 commit comments