Fix connection-determination code.

Don't use isAvailable as a measure of connectedness.  EXTRA_NO_CONNECTION is
better - if it has a problem file a bug about that rather than finding other
mechanisms.

Change-Id: Ia8836972a1f268afef34cca06547af011dc11e6b
1 file changed