commit | c7e1b5c9759e2b6c3b553edf102e71035627e891 | [log] [tgz] |
---|---|---|
author | Shamali P <shamalip@google.com> | Thu Aug 15 02:54:17 2024 +0000 |
committer | Shamali P <shamalip@google.com> | Thu Aug 15 02:54:17 2024 +0000 |
tree | 0dca861f1d081e1d6500d6ef684e487b502876a4 | |
parent | f544f7f16417efbb519188b0435d84116cc40f9c [diff] |
Update the scale on corner radii on scaled image drawable. The RoundedDrawableWrapper applies rounded corners on each draw, so, on scaling, the corners look odd for small widgets. This change, applies the same scale to corner radius as well. There are some widgets whose preview images have embedded transparency, but we don't do much for such previews. Bug: 359860747 Test: Manual Flag: EXEMPT bugfix Change-Id: I5e58e29765503454f286d99050b13b497531d306