diff options
| author | 2025-02-10 23:11:57 -0800 | |
|---|---|---|
| committer | 2025-02-14 11:17:33 -0800 | |
| commit | 727a2180ed0f4ea477fda5a6c731eb4d27b85db8 (patch) | |
| tree | 0e63f33d44313733be195ff70a7268f7c181e6ba /api/coverage/tools | |
| parent | 9cf8d0f74b651caa45cf0b21180c9eb517d7e185 (diff) | |
Fix various issues with offscreen touch zones
1) When touch zones were released, the ViewHost was being released, but not the root leash. Now the root leash is removed as well.
2) The swap animation was calculating the wrong end position for the divider, because it measured from the screen edge instead of accounting for the offscreen app's offset.
3) The touch layer was being animated while still active, meaning that if the surface passed under the user's finger, it would register a touch. Now the touch layer is deactivated and removed prior to animation.
Fixes: 391868062
Fixes: 391866253
Flag: com.android.wm.shell.enable_flexible_two_app_split
Test: App surfaces no longer jump cut when swapping on the right side, and winscope is clear of any extra leashes.
Change-Id: I37103658c9082cfa02a870cb8ab30d0baae7c04a
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions