summaryrefslogtreecommitdiff
path: root/core/java/android/widget/TextView.java
diff options
context:
space:
mode:
authorLinus Tufvesson <lus@google.com>2021-11-03 13:56:24 +0000
committerLinus Tufvesson <lus@google.com>2021-12-01 20:15:45 +0000
commit1bc541e8950824f223dc2aba43f09c20f96189a9 (patch)
tree0bf4afddcda26bd0d683f997291a12b34efa25cb /core/java/android/widget/TextView.java
parent544739c611dbb7e3d3fe62b1710e5b7a07244f5a (diff)
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
Diffstat (limited to 'core/java/android/widget/TextView.java')
0 files changed, 0 insertions, 0 deletions