Commit 8197f93
fix(feedback): check isFinishing/isDestroyed before showing dialog
Add proactive activity validity check inside the runOnUiThread lambda
to avoid hitting the catch block with a BadTokenException when the
activity becomes invalid between the shake callback and UI execution.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ed0dc61 commit 8197f93
File tree
1 file changed
+3
-1
lines changed- sentry-android-core/src/main/java/io/sentry/android/core
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
154 | 156 | | |
155 | 157 | | |
156 | 158 | | |
| |||
0 commit comments