summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-01-23 18:46:15 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-01-23 18:46:15 +0000
commit65488895b96ca7ec63fddddc3f1b742a774cbf6c (patch)
treeac1414d33d8f60408b313223809667f0610de693
parent17235c02343c54be44278a4a55e86f370664a2e9 (diff)
parent3a659d6a08639b46dcbaf487d52f3613c0c57e70 (diff)
downloadcts-65488895b96ca7ec63fddddc3f1b742a774cbf6c.tar.gz
Merge "Merge "Remove intrinsic size check from NotificationTemplateApi30Test" into android13-tests-dev am: e4b5d85833"
-rw-r--r--tests/tests/notificationlegacy/notificationlegacy30/src/android/app/notification/legacy30/cts/NotificationTemplateApi30Test.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/tests/notificationlegacy/notificationlegacy30/src/android/app/notification/legacy30/cts/NotificationTemplateApi30Test.kt b/tests/tests/notificationlegacy/notificationlegacy30/src/android/app/notification/legacy30/cts/NotificationTemplateApi30Test.kt
index e0895ef03f9..3e121ec71e9 100644
--- a/tests/tests/notificationlegacy/notificationlegacy30/src/android/app/notification/legacy30/cts/NotificationTemplateApi30Test.kt
+++ b/tests/tests/notificationlegacy/notificationlegacy30/src/android/app/notification/legacy30/cts/NotificationTemplateApi30Test.kt
@@ -105,8 +105,7 @@ class NotificationTemplateApi30Test : NotificationTemplateTestBase() {
assertThat(iconView.width.toFloat())
.isWithin(1f)
.of((iconView.height * 4 / 3).toFloat())
- assertThat(iconView.drawable.intrinsicWidth).isEqualTo(40)
- assertThat(iconView.drawable.intrinsicHeight).isEqualTo(30)
+ assertThat(iconView.scaleType).isEqualTo(ImageView.ScaleType.CENTER_CROP)
}
// there should be no icon in the large state
checkIconView(builder.createBigContentView()) { iconView ->