Prevent NPE when resolving network connection

If the activity reference is null when attempting to resolve the network connection, the following method will cause a NPE. 

    mConnectionResult.startResolutionForResult(mActivity, RC_RESOLVE);

We can safely fail the resolution attempt and give up.