commit | 849c72a71df713a7c4979210b40b05bcc3cb8e6b | [log] [tgz] |
---|---|---|
author | Ye Wen <ywen@google.com> | Mon Jul 21 14:19:01 2014 -0700 |
committer | Ye Wen <ywen@google.com> | Wed Jul 23 11:41:17 2014 -0700 |
tree | 7bf0620426a43ed01afb0717de2652338c32e31f | |
parent | c05e2a909315dc175451317c6e464e460ef30422 [diff] |
Infer legacy network type for ConnectivityManager.requestNetwork ConnectivityManager.requestNetwork pass TYPE_NONE to sendRequestForNetwork which prevents it from being used with legacy API requestRouteToHostAddress. This CL infers the legacy network type automatically from the network capabilities. b/16324360 Change-Id: I591d38f875f42f56e8cfc157db2069c9eee0ee26