More strictly check NetworkCapabilities callbacks.

This change more strictly accounts for onCapabilitiesChanged
callbaks and their values. It exposes several cases where we the
callbacks we send are spurious.

Test: ConnectivityServiceTest continues to pass
Change-Id: Ifb9b00b6f0cae48f8ed41a525100d1744b5f429b
1 file changed
tree: 78d1df0b577d1c0094ad21e4cf265e14703ca0ce
  1. core/
  2. services/
  3. tests/