Skip to content

fix: enable filterTouchesWhenObscured on WebView layouts#1705

Merged
dkhawk merged 2 commits into
mainfrom
fix/security-filter-touches-layout
Jun 17, 2026
Merged

fix: enable filterTouchesWhenObscured on WebView layouts#1705
dkhawk merged 2 commits into
mainfrom
fix/security-filter-touches-layout

Conversation

@kikoso

@kikoso kikoso commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

Apply security fix from PR #1703 to prevent touch event spoofing when views are obscured by other windows.

This adds android:filterTouchesWhenObscured="true" to the root LinearLayout of:

  • amu_info_window.xml
  • amu_text_bubble.xml

This prevents malicious apps from spoofing touch events when the views are hidden behind other windows.

Test plan

  • Verify layout files compile without errors
  • Confirm security attribute is present in final APK
  • Manual test that WebView layouts still respond to legitimate touches

Apply security fix from PR #1703 to prevent touch event spoofing when views are obscured by other windows. This change adds android:filterTouchesWhenObscured="true" to:
- amu_info_window.xml
- amu_text_bubble.xml
@googlemaps-bot

Copy link
Copy Markdown
Contributor

Code Coverage

Overall Project 41.06% 🍏

There is no coverage information present for the Files changed

@dkhawk dkhawk merged commit 3e59470 into main Jun 17, 2026
11 checks passed
@dkhawk dkhawk deleted the fix/security-filter-touches-layout branch June 17, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants