Repository navigation
Commit 83277d1
fix(android): Name the device-info caching thread (#5684)
* fix(android): Name the device-info caching thread
DefaultAndroidEventProcessor created its device-info pre-caching
executor via Executors.newSingleThreadExecutor() with no ThreadFactory,
so the JDK named the thread pool-N-thread-M and it was not identifiable
as an SDK thread. Supply a ThreadFactory that names it
SentryDeviceInfoCache, matching the convention used elsewhere in the SDK.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* changelog
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 34c912a commit 83277d1
2 files changed
Lines changed: 18 additions & 1 deletion
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 | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
59 | | - | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
425 | 427 | | |
426 | 428 | | |
427 | 429 | | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
428 | 439 | | |
0 commit comments