summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorDaichi Hirono <hirono@google.com>2017-02-08 16:20:20 +0900
committerDaichi Hirono <hirono@google.com>2017-03-29 00:14:16 +0000
commit812c95d37dccf8a1fcef55c6999c6d69ecbac400 (patch)
treeeffaf8d0d335a2a4332c76935fef5adbb4eebe9a /tools/aapt2/diff/Diff.cpp
parentc8d8c27c6811d3985c81cd70daff2869b6f3f904 (diff)
Allow apps to process ProxyFDCallback asynchrnously.
Previously callback methods of ProxyFileDescriptorCallback were invoked on a background thread prepared in the framework. So all methods were invoked and processed synchronously. This was problem because if it took time to fetch bytes of one file, operations for other files were also blocked. The CL changes ProxyFileDescriptorCallback methods to be invoked on Handler passed by apps. Now application can prepare a Handler per file so that one file does not block others. Bug: 35229514 Test: cts-tradefed run cts -m CtsOsTestCases -t android.os.storage.cts.StorageManagerTest#testOpenProxyFileDescriptor_async Change-Id: Ibadc4aad4c0373a3da586459a8f775e40288c895 (cherry picked from commit 4f156065c860d916b649e2b464e9405cafc732e9)
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions