Skip to content

Commit 20ec62a

Browse files
abhishek-900romtsn
andauthored
fix(android): Add filterTouchesWhenObscured to prevent Tapjacking (#5155)
* fix(android): Add filterTouchesWhenObscured to prevent Tapjacking Adds filterTouchesWhenObscured="true" to the user feedback dialog to prevent overlay/tapjacking attack ( CWE-1021) * Changelog --------- Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>
1 parent 7272747 commit 20ec62a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Fixes
66

77
- Common: Finalize previous session even when auto session tracking is disabled ([#5154](https://github.com/getsentry/sentry-java/pull/5154))
8+
- Android: Add `filterTouchesWhenObscured` to prevent Tapjacking on user feedback dialog ([#5155](https://github.com/getsentry/sentry-java/pull/5155))
89
- Android: Add proguard rules to prevent error about missing Replay classes ([#5153](https://github.com/getsentry/sentry-java/pull/5153))
910

1011
## 8.34.0

sentry-android-core/src/main/res/layout/sentry_dialog_user_feedback.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
android:id="@+id/sentry_dialog_user_feedback_layout"
55
android:layout_width="match_parent"
66
android:layout_height="match_parent"
7+
android:filterTouchesWhenObscured="true"
78
tools:ignore="HardcodedText,RtlHardcoded"
89
android:theme="?android:attr/dialogTheme"
910
android:padding="24dp">

0 commit comments

Comments
 (0)