Commit a734533
fix(feedback): clear stale activity ref and reset shake state on stop
- Clear currentActivity in onActivityDestroyed to prevent holding a
stale reference to a destroyed activity context
- Reset shakeCount and firstShakeTimestamp in stop() to prevent
cross-session false triggers across pause/resume cycles
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a9ac3e1 commit a734533
File tree
2 files changed
+3
-0
lines changed- sentry-android-core/src/main/java/io/sentry/android/core
2 files changed
+3
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
| |||
0 commit comments