commit | 1e2595d7928e5259563e59d65e5f7d05e236f054 | [log] [tgz] |
---|---|---|
author | Jeremy Joslin <jjoslin@google.com> | Wed Apr 05 14:50:32 2017 -0700 |
committer | Jeremy Joslin <jjoslin@google.com> | Wed Apr 12 16:47:00 2017 -0700 |
tree | f1eecef68b84c61cfffedff2d44e3a0d8d1b024f | |
parent | 81bfe1f62e5910f69159bcbb2925602823d73cb8 [diff] |
Always call unbind. Per a recent discussion unbind should always be called, even if bind() returns false. Restructured the NetworkScoreService code to allow for easier and more robust testing of the inner ServiceConnection class. Bug: 36999204 Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest Change-Id: I08870b7109cb7f51cdab8b632b7d1d0898c3c015