Repository navigation
Commit e4b8ddf
committed
ref(macrobenchmark): Narrow the deprecation suppression to the deprecated call
@Suppress("DEPRECATION") covered the whole candidateDirs expression, including
externalCacheDir, which is not deprecated -- so a future deprecation there would
have been silently swallowed. Scope it to getExternalMediaDirs and record why it
cannot be migrated: it is deprecated in favour of MediaStore, which returns
content URIs rather than the filesystem path androidx.benchmark writes to.1 parent c1cd5bd commit e4b8ddf
1 file changed
Lines changed: 6 additions & 3 deletions
File tree
- sentry-android-integration-tests/sentry-uitest-android-macrobenchmark/src/main/java/io/sentry/uitest/android/macrobenchmark
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
107 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
108 | 111 | | |
109 | 112 | | |
110 | 113 | | |
| |||
0 commit comments