diff options
author | Leon Scroggins III <scroggo@google.com> | 2019-10-08 12:45:23 -0400 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2019-10-10 10:07:45 -0400 |
commit | e8da8b12c3ee0449ed60f7c28ce983c3ea2b4749 (patch) | |
tree | 83c65c3eb88d1b83145ce59319b38aa27a6a879f /rs/java/android/renderscript/RenderScriptCacheDir.java | |
parent | a3b702fa84b258f4bfa456223c2e02aca76de01b (diff) |
Handle null assetFd like a FNF
Bug: 140961740
Test: TODO
We already catch an FNF and attempt to open the file as an InputStream.
Do the same if null is returned.
I haven't figured out a way to make assetFd set to null and yet opening
an InputStream succeeds, so this is untested.
Change-Id: Iabd05db714bc693ead2dc8cc4c0b46fef9f33d5a
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions