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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user