summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/15
diff options
context:
space:
mode:
authorDaichi Hirono <hirono@google.com>2017-02-08 16:20:20 +0900
committerDaichi Hirono <hirono@google.com>2017-03-27 16:18:20 +0900
commit4f156065c860d916b649e2b464e9405cafc732e9 (patch)
tree2a75e41d605ef14bf2a7d842e2fff036bc01cff6 /docs/html/sdk/api_diff/15
parent2e0d5323171fcbf8055ce4ebc98faa4ac526d9d3 (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
Diffstat (limited to 'docs/html/sdk/api_diff/15')
0 files changed, 0 insertions, 0 deletions