diff options
| author | 2024-07-30 12:50:40 +0000 | |
|---|---|---|
| committer | 2024-07-30 13:52:40 +0000 | |
| commit | d26ea1d9ae6736741fa97d92b7f304732fbf19b5 (patch) | |
| tree | 22020abcb1a6b10b2d0a44698c619152eb61d4f8 /libs/androidfw/StringPool.cpp | |
| parent | 7ef1ce6e9e96a69ad9ed098fc768039df5856f68 (diff) | |
Correctly compute the minimum crop size
The integer division is wrong, it will round down the sample size and
make the crop larger than actually necessary.
Flag: com.android.window.flags.multi_crop
Bug: 355665230
Test: check the wallpaper sample size in logs
Test: atest WallpaperCropperTest
Change-Id: Id72a2f99e0d93c115462ea315ee83bc38c523bf8
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions