summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorJin Seok Park <jinpark@google.com>2020-10-13 11:19:34 +0900
committerJin Seok Park <jinpark@google.com>2020-10-13 05:39:16 +0000
commit1588ae80ac2a2b9220d9295f509ccd66cb1945b2 (patch)
tree8cc7198ad9bca4a264400ccbd17d6ba5e27536cd /rs/java/android/renderscript/ProgramStore.java
parent697b8ced2fc9bbc5ce8cc88047e4fb85017b4e74 (diff)
Change saveAttributes implementation
Context: http://shortn/_b43rjiwjmE TLDR: saveAttributes renames and removes original file, which results in MediaProvider removing it from its DB and thus unintentionally removing other associated data. This CL changes saveAttributes implementation to copy the original file to a temp file and write over the original file instead to prevent it from being removed in the MediaProvider DB. See aosp/1428429 for reference. Bug: 168706052 Test: atest CtsMediaTestCases:android.media.cts.ExifInterfaceTest Change-Id: Ib01471e5fb8f1610a9a8eba741bea9a084021151
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions