summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Fabian Kozynski <kozynski@google.com> 2024-01-22 15:04:44 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-01-22 15:04:44 +0000
commit1040551c9010e6eec931e82b1f04ff987ada1c5d (patch)
tree1d81cbf813463db9af2456f5820e66840ebf94c8
parent8860603b883ed6bdfaae435560831f1b9efcea96 (diff)
parent9eac05caef0ec9b62660db5a9afda77755765567 (diff)
Merge "Reinflate background on configuration change" into main
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileViewImpl.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileViewImpl.kt b/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileViewImpl.kt
index 456520051f58..c5eeb2f87d3a 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileViewImpl.kt
+++ b/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileViewImpl.kt
@@ -249,6 +249,10 @@ open class QSTileViewImpl @JvmOverloads constructor(
height = iconSize
marginEnd = endMargin
}
+
+ background = createTileBackground()
+ setColor(backgroundColor)
+ setOverlayColor(backgroundOverlayColor)
}
private fun createAndAddLabels() {