Commit 59cfc0a
fix(feedback): preserve currentActivity in onActivityPaused when dialog is showing
onActivityPaused always fires before onActivityDestroyed. Without this
fix, currentActivity was set to null in onPause, making the cleanup
condition in onActivityDestroyed (activity == currentActivity) always
false. This left isDialogShowing permanently stuck as true, disabling
shake-to-feedback for the rest of the session.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 65122ca commit 59cfc0a
File tree
1 file changed
+7
-1
lines changed- sentry-android-core/src/main/java/io/sentry/android/core
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
80 | 86 | | |
81 | 87 | | |
82 | 88 | | |
| |||
0 commit comments