Merge "Change shadow of cast icon in Dream." into tm-qpr-dev

This commit is contained in:
Victor Truong
2022-11-30 15:49:26 +00:00
committed by Android (Google) Code Review

View File

@@ -71,7 +71,7 @@ class DoubleShadowIconDrawable(
mKeyShadowInfo.offsetY, mKeyShadowInfo.offsetY,
mKeyShadowInfo.alpha mKeyShadowInfo.alpha
) )
val blend = RenderEffect.createBlendModeEffect(ambientShadow, keyShadow, BlendMode.DARKEN) val blend = RenderEffect.createBlendModeEffect(ambientShadow, keyShadow, BlendMode.DST_ATOP)
renderNode.setRenderEffect(blend) renderNode.setRenderEffect(blend)
return renderNode return renderNode
} }