summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-12-07 21:46:26 +0800
committer Riddle Hsu <riddlehsu@google.com> 2022-12-07 13:48:28 +0000
commit6e51bca31e67773b83b82ec26ca6720301efc4bb (patch)
treedadb83071a9407c662de167d012e004ea5dfbe01 /api/api.go
parent64e177c02957e661eb09be44bcaebbc06f0897b2 (diff)
Only apply crop to task and task fragment in end transition
If asTaskFragment() is null, the window container can be DisplayContent, DisplayArea, WindowToken, ActivityRecord. Because DisplayArea and WindowToken rely on DisplayContent, while ActivityRecord relies on task, only the parent container of activity needs the crop. Otherwise such as WallpaperWindowToken may be cropped unexpectedly if it has a rotation transform. Fix: 261704203 Test: Enable shell transition. Launch landscape app and back to portrait home. Wallpaper should not be half black. Change-Id: Id262090c64814370e3f215acdf670d7b4d6ee1e9
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions