commit | 8888a88175d44bf6aa90cced37a83d065e09872a | [log] [tgz] |
---|---|---|
author | Nicolò Mazzucato <nicomazz@google.com> | Mon Nov 21 14:45:00 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Nov 21 14:45:00 2022 +0000 |
tree | a9ed8282201dbcc6772023a4548634358deeeaf3 | |
parent | ea3dce89b094fd93d6e7c698f6963115dc103903 [diff] | |
parent | bcd596c6c2c232e2a6c844c9965b189d7f3a027e [diff] |
Merge "Remove test for QS and QQS constraints" into tm-qpr-dev am: bcd596c6c2 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20515373 Change-Id: Ifce75821a5d9fb0a757eaf397d670f2fa07b4646 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/packages/SystemUI/tests/src/com/android/systemui/shade/CombinedShadeHeaderConstraintsTest.kt b/packages/SystemUI/tests/src/com/android/systemui/shade/CombinedShadeHeaderConstraintsTest.kt index 2a3d32e..9c36be6 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/shade/CombinedShadeHeaderConstraintsTest.kt +++ b/packages/SystemUI/tests/src/com/android/systemui/shade/CombinedShadeHeaderConstraintsTest.kt
@@ -344,26 +344,6 @@ } @Test - fun testCheckViewsDontChangeSizeBetweenAnimationConstraints() { - val views = mapOf( - R.id.clock to "clock", - R.id.date to "date", - R.id.statusIcons to "icons", - R.id.privacy_container to "privacy", - R.id.carrier_group to "carriers", - R.id.batteryRemainingIcon to "battery", - ) - views.forEach { (id, name) -> - assertWithMessage("$name changes height") - .that(qqsConstraint.getConstraint(id).layout.mHeight) - .isEqualTo(qsConstraint.getConstraint(id).layout.mHeight) - assertWithMessage("$name changes width") - .that(qqsConstraint.getConstraint(id).layout.mWidth) - .isEqualTo(qsConstraint.getConstraint(id).layout.mWidth) - } - } - - @Test fun testEmptyCutoutDateIconsAreConstrainedWidth() { CombinedShadeHeadersConstraintManagerImpl.emptyCutoutConstraints()()