summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Aurélien Pomini <pomini@google.com> 2024-02-22 14:46:40 +0000
committer Aurélien Pomini <pomini@google.com> 2024-02-27 18:05:56 +0000
commit73d80aa07f72dcfe22f6424c4e9de1a21f2630e4 (patch)
tree005cddd53c6acf5e4e618fb10ed3c5c3335b1432 /api/api.go
parentf37e3002a49bdc28c2bf48aff2e54a86d6108209 (diff)
Improve multi-crop forward compatibility logic
Make sure we first adapt the existing crop for the new device before generating missing crops. This is important if there is a B&R from a similar device with slightly different screen dimensions: we don't want to calculate the missing crops based on the crops of a previous device; we first want to adjust the existing crops for the new device before calculating other crops for missing orientations. Flag: aconfig com.android.window.flags.multi_crop DEVELOPMENT Bug: NA (let's not spam bugs with small fixes) Test: atest WallpaperManagerTest WallpaperCropperTest Change-Id: I199d6b2c00314c00ca6c240b942e5b0c4e902be9
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions