diff options
author | Guang Zhu <guangzhu@google.com> | 2012-10-12 15:50:44 -0700 |
---|---|---|
committer | Guang Zhu <guangzhu@google.com> | 2012-10-12 15:50:44 -0700 |
commit | 90619816d99154d504a14774c6f2d5f4254ff780 (patch) | |
tree | b129af547bd1daf61c3f0a5051d598168cab4cc4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 8dd3aaddba551eab19cf7ced07ab066575377c5e (diff) |
use BufferedInputStream in readTextFile
With FileInputStream, using assumption of bytes read (as
returned by read function) not matching buffer size as EOF is
not correct, we hit this when reading from /proc in some cases.
BufferedInputStream's behavior matches that assumption due to
its implementation.
Bug: 7342759
Change-Id: Ibb06dbe1fbe33f6f880524f7555ff5542889ea50
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions