diff --git a/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileViewHorizontal.kt b/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileViewHorizontal.kt index 7a8b2c696fa0e..b9533237e3d5d 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileViewHorizontal.kt +++ b/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileViewHorizontal.kt @@ -118,7 +118,11 @@ open class QSTileViewHorizontal( override fun setClickable(clickable: Boolean) { super.setClickable(clickable) background = if (clickable && mShowRippleEffect) { - mTileBackground + mRipple?.also { + // In case that the colorBackgroundDrawable was used as the background, make sure + // it has the correct callback instead of null + colorBackgroundDrawable?.callback = it + } } else { colorBackgroundDrawable }