Commit 8456a56
fix(feedback): use instanceof check for SentryAndroidOptions cast
Follow the established defensive pattern used by all other Android
integrations instead of an unchecked cast that could throw
ClassCastException if a hybrid SDK passes a different options type.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e89af4f commit 8456a56
File tree
1 file changed
+6
-1
lines changed- sentry-android-core/src/main/java/io/sentry/android/core
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
| |||
0 commit comments