diff options
author | Misha Wagner <mishaw@google.com> | 2018-10-15 10:45:44 +0100 |
---|---|---|
committer | Misha Wagner <mishaw@google.com> | 2018-10-25 10:51:40 +0100 |
commit | cc065fb95e2224fe6f49011350f3399cbf27fe79 (patch) | |
tree | 8b844c5b4755551f429d247dbd316e8b1579797c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1332beacbef762ac6d2cf6c2739f7eae593f6599 (diff) |
Modify Process::readProcFile to read in variable size file
The original Process::readProcFile could only read files smaller than 256 bytes.
This change allows the function to read in larger files. For files smaller than
256 bytes, the added cost is only an extra read call, which returns zero.
Documentation has also been added to Process::readProcFile.
Test: Used in change 5168194
Change-Id: I82f27355276e08f96bdb5fe7da49514a87afb429
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions