commit | 5835157d762a5b6bffe3d892c588ebc475bccb44 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Mon Sep 09 16:37:57 2013 -0700 |
committer | John Reck <jreck@google.com> | Mon Sep 09 23:41:20 2013 +0000 |
tree | 2540b1359dc480b22094e81544a4dd84fdd333ed | |
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