commit | d31d756fe76bf0a44c4fcd60bef1b308a628922c | [log] [tgz] |
---|---|---|
author | Austin Wang <wangaustin@google.com> | Tue Jun 11 14:23:35 2024 -0700 |
committer | Austin Wang <wangaustin@google.com> | Wed Jun 12 21:00:52 2024 +0000 |
tree | 11f2b223f82ec4842ac184d3135c752eacb978af | |
parent | 187e539051e7692761cde18fe4e753381f4d5072 [diff] |
Account for system scale before calculating preview scale For small image the minScale and maxScale will be the same as they both larger than DEFAULT_WALLPAPER_MAX_ZOOM, but for larger image the maxScale will be DEFAULT_WALLPAPER_MAX_ZOOM, we should do system scale before this to take it into consideration. Flag: com.android.window.flags.multi_crop Fixes: 345373215 Test: preview tiny wallpaper Change-Id: I4134acac577ecbecb4846cff40900783f30fd20e