commit | 729339657817c1bbcb2eb34fda6efd23e880c03b | [log] [tgz] |
---|---|---|
author | John Pan <johnpan@google.com> | Wed Dec 01 09:49:53 2021 +0000 |
committer | John Pan <johnpan@google.com> | Wed Dec 08 06:22:50 2021 +0000 |
tree | 3a293c62442c7a6e689daa3b2441b5202ac3bda2 | |
parent | 36a49af6422e652aa7660810ee5defdf0c9ac04c [diff] |
Fix resolution lower issue when setting wallpaper Now setCurrentWallpaper in ImagePreviewFragment will crop the image size to calculateCropRect size. So adding getScaleOfScreenResolution to get the scale of screen size to scale calculateCropRect Images from tablet -Before: https://screenshot.googleplex.com/7WkUaZdNo8uNBCq.png https://screenshot.googleplex.com/3W8X9D7bcvrGoHx.png -After: https://screenshot.googleplex.com/XHPPyya7sHaYhKf.png https://screenshot.googleplex.com/4dxKJaLqNazqDkF.png Bug: 206147035 Test: Manual Change-Id: I64b97a65b75c5f6678a545edc7de74c8a07611af