Commit 75661f4
feat(android): Compile against Android SDK 37
Bump compileSdk and targetSdk to 37 (Android 17).
Also handle the now-nullable MediaCodecInfo.getVideoCapabilities() in SimpleVideoEncoder: the API 37 android.jar annotates it @nullable, which otherwise fails Kotlin compilation. The access is already inside a try/catch, so behavior is unchanged.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 61ba1d5 commit 75661f4
2 files changed
Lines changed: 3 additions & 3 deletions
File tree
- gradle
- sentry-android-replay/src/main/java/io/sentry/android/replay/video
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
0 commit comments