commit | aebf17e7f1bc6ca6da9ed5d6c129264590ea2f9e | [log] [tgz] |
---|---|---|
author | Etan Cohen <etancohen@google.com> | Wed Mar 01 12:47:28 2017 -0800 |
committer | Etan Cohen <etancohen@google.com> | Thu Mar 02 08:06:27 2017 -0800 |
tree | e2a0075bfaaaef5e74b56a4497783252e16727a1 | |
parent | 7f0300f1e20fc3c4c6c063eebcd0d4d1b407578c [diff] |
[CM] Allow timeout in request network Add (unhide) a public API which provides network requests with a timeout. When timed-out the (newly unhidden) onUnavailable() callback is triggered. Note: this CL does not add a handler to the API to be consistent with the existing APIs. There is a separate effort (b/32130437) to update these APIs with Handlers. Bug: 31399536 Test: unit tests and CTS (new) Change-Id: I45ce9ada63372cb56937bb620bfbb7729e5e25d2