summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Script.java
diff options
context:
space:
mode:
authorTomasz Mikolajewski <mtomasz@google.com>2016-03-02 17:41:40 +0900
committerTomasz Mikolajewski <mtomasz@google.com>2016-03-10 16:48:29 +0900
commit1008a11233c9edb6544a1e4d65e291bb16066fa3 (patch)
tree30229b840db99daf0754c6c6f3857b756f7fed49 /rs/java/android/renderscript/Script.java
parent836202114a8eaca2d1e722a90b2eca0fb0ff88c0 (diff)
Fallback to byte-by-byte copy/move if optimized fails.
Sometimes providers may refuse to do a provider-side copy/move even though the documents had the SUPPORTS_COPY/MOVE flags set. This is because optimized copy/move may be only supported within the same root. Since there is no easy way to check if documents are on the same roots from DocumentsUI, as well as whether the provider can actually copy/move efficiently between different roots, we should tolerate the failure and do a fallback to byte-by-byte operation. Bug: 27436368 Change-Id: Ia1a0fbdba26c06b2151afc25d8513c01d60d31db
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions