Skip to content

Commit c37fae7

Browse files
authored
fix(android): Add filterTouchesWhenObscured to prevent Tapjacking
Adds filterTouchesWhenObscured="true" to the user feedback dialog to prevent overlay/tapjacking attack ( CWE-1021)
1 parent 83884a0 commit c37fae7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)