summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2017-11-06 23:39:15 +0000
committerTobias Thierer <tobiast@google.com>2017-11-07 14:31:18 +0000
commita36b116e2e009c33e0602867cb476afcbff1dd6a (patch)
tree690b331839b08783a2e4efcc7a3d50c765e39c9c /annotations/generate_annotated_java_files.py
parentccac271d67712e5fbc2e7a731bdcdb01d308328b (diff)
Fix Os.sendfile() for null offset.
A previous CL ( http://r.android.com/518135 ) introduced a bug where android.system.Os would throw NullPointerException when given a null offset argument, rather than treating it as an offset of zero. This CL fixes this, and also introduces test coverage for both sendfile() in both android.system.Os and libcore.io.Libcore.os. Test: OsTest fails before this CL but passes after this CL, as well as on Android 7.1. Change-Id: Ie39bb9a8f209004109ad82cb5ea56c9b7ab74cbf
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions