summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJin Seok Park <jinpark@google.com>2018-03-20 10:23:46 +0900
committerJin Seok Park <jinpark@google.com>2018-03-27 14:58:52 +0900
commit473201868c0cb6d6fef4550c7aeb9c1ba7432d98 (patch)
tree99cf287c1c8696798ccd01635e6ff243cc9021c5 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent855617501c4a8be95586962ce2612f493754e1f3 (diff)
ExifInterface: Remove casting int[] to long[]
This CL removes code that directly casts int[] to long[] and instead iterates through the individual values and casts to int if necessary. They are cast to integer because StripOffsets/StripByteCounts Attributes can return either int[] or long[] values, but the maximum length of a file that ExifInterface can handle is the maximum value of integer, so it should be safe to cast the long values to integer values. Bug: 73091048 Test: Cts Change-Id: I9f3b98204e0829a8a8a30927bb8c0a698c457654
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions