summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJin Seok Park <jinpark@google.com>2019-08-02 17:06:48 +0900
committerJin Seok Park <jinpark@google.com>2019-08-12 10:02:47 +0900
commit38bb5081a773ed437cfb6d028d7cc8c7d6a9eb7a (patch)
tree37703a05a5b778bc9c314b38f3c183f2d7cad901 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent26f2c379d0c5e6f6f37419ed06d57f252b9501e7 (diff)
Fix ExifInterface#saveAttributes behavior
cherry-pick from aosp/1015050, aosp/1079822 1. Currently, calling ExifInterface#saveAttributes with StrictMode that detects unbuffered I/O throws an exception. Change saveJpegAttributes to take BufferedInput/OutputStreams as parameters. 2. Change saveAttributes so that when an exception is thrown, the original image file is not deleted but restored. 3. Distinguish between two identical exception messages in saveAttributes. 4. Add test for checking StrictMode. Bug: 137139466 Test: Run atest CtsMediaTestCases:android.media.cts.ExifInterfaceTest Change-Id: I9e4111ec35740198bdbdba0c9b609875b6231474
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions