commit | 3192dec32180f56733e631c2d9ec62fa1359283d | [log] [tgz] |
---|---|---|
author | Robert Greenwalt <rgreenwalt@google.com> | Tue May 27 13:20:24 2014 -0700 |
committer | Robert Greenwalt <rgreenwalt@google.com> | Mon Jun 02 16:19:08 2014 -0700 |
tree | 81df7713efd1bd18222d25c5fb649accca8fca83 | |
parent | 8f3799867d2c3322a7191803b2dda54583305ea0 [diff] |
Refactor NetworkFactory. Make NetworkFactory a concrete class and divide responsibilites between it and NetworkAgent. Factory will track requests and by default give a single connect/disconnect api for ease of use. Then NetworkAgent is created and destroyed as needed with very simple logic. Change-Id: I401c14a6e5466f2fc63b04219b97ff85bb9af291