diff options
author | John Reck <jreck@google.com> | 2013-09-09 16:37:57 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2013-09-09 23:41:20 +0000 |
commit | 5835157d762a5b6bffe3d892c588ebc475bccb44 (patch) | |
tree | 2540b1359dc480b22094e81544a4dd84fdd333ed /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 23ae1461d2cf0ac3f1da71200544381a8d8a4957 (diff) |
Remove FD optimization case for decodeStream
Bug: 10677727
The problem is that the FileInputStream may be wrapping a pipe or
AssetFileDescriptor which fails if handed to decodeFileDescriptor.
The problem is that AFDs can start in the middle of a file, whereas
decodeFileDescriptor assumes it can mmap() the FD and start at
the beginning.
Change-Id: I98a3c5f789865145e25a99b32d205e290808c1cf
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions