diff options
author | Leon Scroggins III <scroggo@google.com> | 2018-01-14 10:50:45 -0500 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2018-01-17 14:33:23 +0000 |
commit | c782ad886f957408d70e5c77ccf0928bb85f60da (patch) | |
tree | b7158c04a6ca5687ce2d53ef6d8ae53b95f9c812 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions