summaryrefslogtreecommitdiff
path: root/api/coverage/tools
diff options
context:
space:
mode:
author Jeremy Sim <jeremysim@google.com> 2024-11-08 22:44:59 -0800
committer Jeremy Sim <jeremysim@google.com> 2024-11-19 01:36:51 +0000
commit4789cc2d6f21a70893d0b841b438dca0de9bc1c4 (patch)
treecec9c136cf317407d31b397a92f1cba5890c65c1 /api/coverage/tools
parent025f8b58a19ed417351a2fdf01ec8f0e57e90ac8 (diff)
Flexible 2-app split: Touch zones
Changes how we detect a user's intent to change apps in flexible split. Previously, we relied on the app's TO_FRONT transition, which works in most cases, but notably fails on the swipe-up-to-Overview gesture (the swiped-over app briefly receives a TO_FRONT, which creates problems). Now, we use a new toggleable, touchable View which is attached to the split root. The touch zone is set and unset as the split layout changes. The zone lives behind insets and Taskbar surfaces, so it doesn't interfere with those, and screen-edge swipes are properly ignored. One small issue: The status bar blocks touches to this zone, so the touch zone feels a little small in portrait split when the top app is offscreen. Bug: 349828130 Flag: com.android.wm.shell.enable_flexible_two_app_split Test: Unchanged behavior when flag is off Change-Id: Iaaf62f15ae1a5c95d63ea601da5d5a9d4e75917e
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions