summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Script.java
diff options
context:
space:
mode:
authorJin Seok Park <jinpark@google.com>2019-11-19 18:55:40 +0900
committerJin Seok Park <jinpark@google.com>2019-11-20 13:30:22 +0900
commit013afc4dafe7cc9a58570aa63b6d7b795899b49c (patch)
tree23e0f6b685776ba28181ed0b7ea96dfdd9b0d6dd /rs/java/android/renderscript/Script.java
parent28332d52181ca6c5f0fd95e6a18e667f08cdf674 (diff)
[DO NOT MERGE] Return correct offsets for getAttributeRange()
Cherry-picked from ag/9745767 Currently, the offset value returned from getAttributeRange() does not take into account the offset to the EXIF data within the image file. This CL fixes the code to return the correct offsets. The existing test code could not detect this issue because it does not explicitly seek to the given offset and retrieve/compare the data. This CL also adds test code to do this. Make tag information is also added because all test files have this information, while only a select few have thumbnail/GPS tag information. This CL also fixes a bug where the thumbnail offset was not being updated if the data was passed with StripOffsets tag. Bug: 143118731, Bug: 143663411 Test: atest ExifInterfaceTest Change-Id: Ia147cdcacf4699c5e7efc43f52e58b945032a51f
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions