commit | 04f16b945868a3593650163d7854be65a1eed774 | [log] [tgz] |
---|---|---|
author | Jernej Virag <jernej@google.com> | Thu Dec 22 22:20:50 2022 +0100 |
committer | Jernej Virag <jernej@google.com> | Tue Jan 17 14:01:17 2023 +0000 |
tree | 718ad61e83ed4e87007411e24ddb624694ef4f60 | |
parent | b02bdb209055b85ab3c85b0a485f683e9efc10f5 [diff] |
Rework test for Notification Template It doesn't make a lot of sense to check for intrinsic width of a drawable - we really care about proper aspect ratio and crop style of the image views in templates. So verify the ratio and scaleType instead, avoiding having to deal with DPI issues. Bug: 260805673 Test: atest on Pixel 6, 7 (default and 240dpi configuration), atest on Android Go device and ABTD test runs on Android TV device. Change-Id: I87e8a36e0f84a43d71926b9c21f1434c85dbea9e