diff options
| author | 2024-11-25 18:35:49 +0000 | |
|---|---|---|
| committer | 2024-11-25 20:33:07 +0000 | |
| commit | 4057e94323bb019c2d0754131a0994fa5a535fe4 (patch) | |
| tree | d0d5ab4bc43a73f0e0f0702dd370d7a9f428699b /api/api.go | |
| parent | 591d5fba245e48dcda89784b75418d5a525148d8 (diff) | |
Only set task shadow/corner for freeform tasks
Couple of changes to prevent unintended shadows on non-freeform windows:
1) Makes RelayoutParams's shadow radius take pixels instead of a
resource to align with corner radius
2) Moves (incomplete, only checked fullscreen) windowing-mode check to
skip shadow radius out of WindowDecoration.java into
DesktopModeWindowDecoration.
3) Adds an INVALID_SHADOW_RADIUS to signal none should be set, also to
align with corner radius
Fix: 375300371
Flag: EXEMPT bug fix
Test: enter split-screen, swipe up to show taskbar, verify one side
doesn't get darker (because of a shadow)
Change-Id: I9c34b3e3701faec0bb671e1b350a807fe1ee3079
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions