diff options
author | Mike Ma <yanmin@google.com> | 2020-02-26 12:39:57 -0800 |
---|---|---|
committer | Mike Ma <yanmin@google.com> | 2020-02-26 12:39:57 -0800 |
commit | 266bec303c25dfebc7043643ee9ef0c8fd9aa03b (patch) | |
tree | 9e96eda4a71eda6f79e48740fff2ccb6c5163ade /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | d506a78e94594be701b2a061cb48b5e2f5cf3908 (diff) |
Handle EOF explicitly in incident_helper
getLine returns -1 when it reaches EOF, and currently incident_helper
does not differentiate between EOF and an actual error when calling
getLinefrom file. So incident_helper throws an error when it reaches
EOF, and this is not good. This change separates these two cases.
Bug: 149895022
Bug: 150145113
Test: incident_helper_test
Change-Id: Ic5e67f8f9e55719c17d624718b730981c4249da1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions