[Magnifier-64] Fix light source alpha for renderer
I9e6f44b07a170574a905f42338282c4bb7e95f56 changed the way the light source alphas were set for renderers - the alphas were passed as ints between 0 and 255 before, while now they are passed as a double between 0 and 1. This CL updates SimpleRenderer, which is only used by the magnifier, to use the API correctly. Before this CL, the incorrect usage was causing the value validation to fail and apps to crash when the magnifier was trigerred. Bug: 119423778 Test: manually tested the magnifier Change-Id: I8978ac16aca38906ec2cf4ae30a83beddfc9e941
Loading
Please register or sign in to comment