Change shadow of cast icon in Dream.

The current shadow of the cast icon is darker because the two shadows
were blending together to darken the shadow. The text's shadow is not
blended.

Bug: 257997891
Test: Manually tested
Change-Id: Ia371bbeb9859a224da134770c7e99c4556960a6c
This commit is contained in:
Victor Truong
2022-11-29 12:03:03 -05:00
parent 91265752f1
commit 0e09140dac

View File

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