commit | c782ad886f957408d70e5c77ccf0928bb85f60da | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Sun Jan 14 10:50:45 2018 -0500 |
committer | Leon Scroggins <scroggo@google.com> | Wed Jan 17 14:33:23 2018 +0000 |
tree | b7158c04a6ca5687ce2d53ef6d8ae53b95f9c812 | |
parent | e7403b47c35d081d567672d3c94dce5c1d3aca4e [diff] |
Report more specific error if codec creation fails Bug: 71578461 Test: CtsGraphicsTestCases Switch to SkCodec::MakeFromStream, and use its error code to determine the Exception/error message. Then pass that to SkAndroidCodec::MakeFromCodec. This is essentially what happened previously (minus error reporting). Change-Id: Iabaa61a4321d2f2e257db587013afda605b005b0