commit | 1043f56185ee4abb0246ebe44eea7e391802d4fa | [log] [tgz] |
---|---|---|
author | Jaesung Chung <jaesung@google.com> | Mon Mar 14 15:09:09 2016 +0900 |
committer | Jaesung Chung <jaesung@google.com> | Mon Mar 14 15:16:47 2016 +0900 |
tree | 2fb929f672a9eb0a7c490cf203bcb640fdb7722c | |
parent | 89cb1945424f1d4c7278d24cd09f0a8d09093883 [diff] |
ExifInterface: ignore exceptions when getting wrong images In order to maintain compatibility with the old versions of ExifInterface, non-JPEG image files, for instance, PNG, GIF and so on, need to be handled by generating an empty result rather than throwing an exception in the constructor. And corrupted JPG files also should be handled in the same way. Bug: 27587980 Change-Id: If33b63c683bfb672999d1abd370a8edf29932ac1