summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJin Seok Park <jinpark@google.com>2020-07-27 11:23:14 +0900
committerJin Seok Park <jinpark@google.com>2020-07-27 12:43:19 +0900
commit5abacddfc3355905a3d15a3561d321f5ea62dcc2 (patch)
tree7c9747a2a1ed2575ee975ca4ddbbd90a43635de3 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentb19564f75cb6547348f1eaa39e36aee9f6215fe9 (diff)
Rename temp file to use a valid image file extension
MediaProvider added a restriction in R for apps targeting SDK 30 to not allow .tmp files in image file directories such as "Pictures" and "DCIM". This CL renames the temp file to avoid this restriction. Also added test to check for writing to FileDescriptor instances. Bug: 160874777 Test: atest CtsMediaTestCases:android.media.cts.ExifInterfaceTest Also tested with an image file inside /Pictures Change-Id: Iedb548651c0048b0aecc4b34e9c94f778cf5d1e0
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions