Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1bc541e8 authored by Linus Tufvesson's avatar Linus Tufvesson
Browse files

Block touches from passing through activities

By setting an InputWindowHandle for ActivityRecord it is no longer
possible for Activities to shrink their own window size to allow touches
to pass through to activities behind. The touchable region is cropped by
the parent, meaning that it will occupy all availble space.

Feature is disabled by default and can be enabled per package using adb
shell am compat enable ENABLE_TOUCH_OPAQUE_ACTIVITIES <package>

Test: Manually enabled appcompat feature and verified with sample from
b/194480991 that touches are blocked.
Bug: 194480991
Bug: 196054901

Change-Id: I5cc782953bf9bf855f7e49041a0f784a7aae6934
parent 544739c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment