commit | 544d2c0443e98e4bc57da77439123468d799ceb8 | [log] [tgz] |
---|---|---|
author | Aurélien Pomini <pomini@google.com> | Thu Feb 29 17:45:53 2024 +0000 |
committer | Aurélien Pomini <pomini@google.com> | Tue Mar 05 19:05:24 2024 +0000 |
tree | ef003550b377f7853fbed3162ac86d862f0b9f18 | |
parent | b6e4f098c0d3319797019ba535df7d8d2e6a320c [diff] |
Small safety checks in WallpaperCropper If WallpaperCropper couldn't generate the crop, always remove any crop guidelines. Also, always check in getCrop that all suggested crops are valid. Also, avoid a potential infinite recursion in getAdjustedCrop. Flag: ACONFIG com.android.window.flags.multi_crop DEVELOPMENT Bug: NA, let's not spam bugs Test: manual debug with logs Change-Id: I3684d489f3dd7d5656db559b6e5cee5537e3bc5a