Loading packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileViewHorizontal.kt +5 −1 Original line number Original line Diff line number Diff line Loading @@ -118,7 +118,11 @@ open class QSTileViewHorizontal( override fun setClickable(clickable: Boolean) { override fun setClickable(clickable: Boolean) { super.setClickable(clickable) super.setClickable(clickable) background = if (clickable && mShowRippleEffect) { 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 { } else { colorBackgroundDrawable colorBackgroundDrawable } } Loading Loading
packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileViewHorizontal.kt +5 −1 Original line number Original line Diff line number Diff line Loading @@ -118,7 +118,11 @@ open class QSTileViewHorizontal( override fun setClickable(clickable: Boolean) { override fun setClickable(clickable: Boolean) { super.setClickable(clickable) super.setClickable(clickable) background = if (clickable && mShowRippleEffect) { 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 { } else { colorBackgroundDrawable colorBackgroundDrawable } } Loading