Skip to content

Commit 7c028eb

Browse files
authored
Fix AbstractMethodError when using SentryTraced for Jetpack Compose (7.x.x) (#4256)
* Fix AbstractMethodError when using SentryTraced for Jetpack Compose * Override default interface impl to fix AbstractMethodError * Update Changelog * Update Changelog
1 parent 3bb3cbe commit 7c028eb

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
### Fixes
6+
7+
- Fix AbstractMethodError when using SentryTraced for Jetpack Compose ([#4256](https://github.com/getsentry/sentry-java/pull/4256))
8+
39
## 7.22.1
410

511
### Fixes

sentry-compose/src/androidMain/kotlin/io/sentry/compose/SentryModifier.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ public object SentryModifier {
5151
Modifier.Node(),
5252
SemanticsModifierNode {
5353

54+
override val shouldClearDescendantSemantics: Boolean
55+
get() = false
56+
57+
override val shouldMergeDescendantSemantics: Boolean
58+
get() = false
59+
5460
override fun SemanticsPropertyReceiver.applySemantics() {
5561
this[SentryTag] = tag
5662
}

0 commit comments

Comments
 (0)