Fixes a wrong cast position.

There should do type cast before calculate.
But still, the background of splash screen cannot be translucent.

Bug: 269794589
Test: set windowSplashScreenBackground with translucent color, and
verify the splash screen background color shouldn't be translucent.

Change-Id: I2a8719eb9dad5267e5675dc68ab69558cb9cdfa1
1 file changed