Pass ColorSpace to AnimatedImageDrawable
Bug: 123301872 Bug: 117601185 Test: Manual (Ie18811ba29a1db163aca08472b04ae185e9344f0) Test: CTS (Ie4b0a232effc67ab7a7fc6070302c722177cadfa) Test: Infeasible (verify desired ColorSpace is used) When calling setTargetColorSpace on an ImageDecoder for an animated image, pass this to the AnimatedImageDrawable. Also respect an EXTENDED ColorSpace as a cue to decode to RGBA_F16, as with Bitmaps. Call ImageDecoder#checkState for AnimatedImageDrawables, as with Bitmaps. Change-Id: I5f6e11ee14ce4477bfedf2d1fdde8e15ed5f24d5
Loading
Please register or sign in to comment