summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorDaichi Hirono <hirono@google.com>2016-03-28 16:07:45 +0900
committerDaichi Hirono <hirono@google.com>2016-03-29 16:27:59 +0900
commitf4e7fa80384ac72d0228ca5de6e949a9162cefbf (patch)
tree2b5af7e4c38762527a8f3b4013c4e7e5f88d3f19 /tools/aapt2/java/JavaClassGenerator.cpp
parent9194f344b922cd04e5e44206ada6191865631daa (diff)
Use AppFuse to write document.
Previously MtpDocumentsProvider used pipes to transfer bytes from an application to the provider when writing a document. The problem was application could not ensure that the last chunk of bytes was successfully written to MTP device, since pipes had been already closed when the provider transferred bytes to MTP device. Though the provider encountered an error, the provider could not report the error to an application. The CL switches the method to transfer bytes from pipes to AppFuse. Now application can flush() bytes on the file descriptor, and flush will not complete until the provider completes writing bytes to MTP device. Fixed: 23093747 Change-Id: I4e28f8cbf19d6c97e591943349a7535241d768f7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions