Android: left inset ignores the back-gesture zone

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-10-13 11:45:47 +09:00
co-authored by Claude Opus 5.5
parent ae713a0772
commit 445dd06048
2 changed files with 16 additions and 3 deletions
+11
View File
@@ -1625,3 +1625,14 @@ Outstanding:
- the system-edge strip and joystick re-acquire are covered by unit tests only, not yet
exercised by hand on the phone;
- hold-to-repeat on quick slots (d2r's held potion) is not done.
### 2026-10-13 Mobile HUD: left column closer to the edge
- The left safe inset was 117 logical px on the OnePlus PJZ110 (landscape). Android adds the
back-gesture zone (90 physical px) on top of the punch-hole cutout (120 physical px), so the
portrait and the left button column sat about 130 logical px in from the edge.
- `Ava2Surface.onApplyWindowInsets` now passes `covering.left` (cutout and visible system
bars only) as the left inset, the same way it already handled the top. Taps in the gesture
zone still reach the app. Right and bottom still use the combined insets.
- Verified on the device: the portrait, the Quest/Emote column and the joystick moved about
50 logical px to the left and stay clear of the cutout.