summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorMisha Wagner <mishaw@google.com>2020-03-10 13:52:17 +0000
committerMisha Wagner <mishaw@google.com>2020-03-18 14:25:42 +0000
commit23d004ca7bdcc1156e940bf3eea58672830d8fe6 (patch)
tree4b346253681cdb48b707530e1d581cb14c49e9f7 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent5191bb759f281dec6ac535d8a3807d3b5dff97bc (diff)
Fix directory iteration when path disappears.
When iterating across `proc` directories, occasionally a directory would disappear due to a process finishing. This often throws `IOException` when accessing the directory, but can throw `DirectoryIteratorException` if this happens during iteration: java.nio.file.DirectoryIteratorException: java.nio.file.NoSuchFileException: /proc/8708/task This change catches `DirectoryIteratorException`. Test: Build only (bug is difficult to reproduce). Bug: 150888564 Change-Id: I7484d28231d0040b25dafc59b12b64a9342098a4 (cherry picked from commit 52474456b79d54687bd27aa5d7ab397a0d1d83c1)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions