Files
frameworks_base/media/java
Jin Seok Park 42d96ce87c ExifInterface: Fix checking possible overflow
Currently, in order to prevent overflow when retrieving
thumbnail image, ExifInterface checks if the given
thumbnail offset + thumbnail length value is greater than
the length of the file. Instead of using available(), which
may require rewinding the file to the beginning, this
CL creates a getter method for the length of the file.

Test: Run cts
Change-Id: Ic6f9cd4d0f1a075493c393ce3eacc832a79a99ee
2018-10-04 13:26:01 +09:00
..