OSDN Git Service

ExifInterface: fix creating pointer tags which indicate 0 offset
authorJaesung Chung <jaesung@google.com>
Wed, 23 Mar 2016 16:41:46 +0000 (09:41 -0700)
committerJaesung Chung <jaesung@google.com>
Wed, 23 Mar 2016 17:22:48 +0000 (10:22 -0700)
commit616a42f982fee9ab22adc11a0863728172254890
treef859dd302266d6718448c454babc48e501aa6f23
parent285bbbbda45f51f53d18144b7e65edb88c888f1c
ExifInterface: fix creating pointer tags which indicate 0 offset

When saving attributes(that it writes JPEG again.), now ExifInterface
generates some uncessary pointer tags which refer to an empty EXIF IFD
group, that makes a warning message by ExifInterface when reading again,
which warns that the value of the pointer tag pointing to is invalid.

Bug: 27583378
Change-Id: Id0170c5644541565c98fe4978284098e6664c395
media/java/android/media/ExifInterface.java