commit | 03bd07aa0d73d3c3d0431cf4ba8a19ca36b43da7 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Fri Jul 12 13:53:04 2019 -0700 |
committer | John Reck <jreck@google.com> | Mon Jul 15 09:49:37 2019 -0700 |
tree | 75af55815f50f14ed5b5cb649fa2286f0914f17f | |
parent | dcd4c584a14c78d5a9361bd265d2a6c67a7f49a2 [diff] |
Fix exception message buffer->flexFormat is only used if usingRGBAToJpegOverride is true, which appears to be the uncommon case. As such the unsupported format exception should be using the writerFormat instead, which is what's actually being looked up typically. Bug: 137323248 Test: snippet in bug & compare what format is actually switched on with what the exception message claims is unsupported. Change-Id: I54dda0088fd722126e80e38eebe5da2f26378e1d