summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.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-08-26 02:47:51 +0000
commitbb6d38615ef43ab4cb985293005165a43f7ab45f (patch)
tree1c79d4cf231c6f25fbd7668f6309f7db516188dc /rs/java/android/renderscript/ProgramStore.java
parent45c1b35d205f1e473059c8ec6d31e38107022182 (diff)
DO NOT MERGE: 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 (cherry picked from commit 5abacddfc3355905a3d15a3561d321f5ea62dcc2)
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions