diff options
| author | 2024-02-29 17:45:53 +0000 | |
|---|---|---|
| committer | 2024-03-05 19:05:24 +0000 | |
| commit | 544d2c0443e98e4bc57da77439123468d799ceb8 (patch) | |
| tree | ef003550b377f7853fbed3162ac86d862f0b9f18 /libs/androidfw/StringPool.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions