diff options
author | Primiano Tucci <primiano@google.com> | 2018-01-26 14:25:18 +0000 |
---|---|---|
committer | Primiano Tucci <primiano@google.com> | 2018-01-26 14:25:18 +0000 |
commit | 5490b610b3545c96d48de2e01c758e061b2aeed9 (patch) | |
tree | 2a66eaab081d19523d35980b8e2ff8a1f7fb0ca6 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 9f82b6bab52235e3262026c5d66b3d18b333ff38 (diff) |
DropBoxManager: Allow adding a file using an fd
This patch adds an overload to DropBoxManager::addFile() which accepts
an already-opened file as a file descriptor. This avoids the need for
clients to create a filesystem-visible file when uploading data to
DropBox.
Test: Tested with perfetto using https://android-review.googlesource.com/c/platform/external/perfetto/+/587674
Change-Id: I076bfd3180fb9b4baff7e1bae2e611419061b2a7
Merged-In: I076bfd3180fb9b4baff7e1bae2e611419061b2a7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions