Always return true for isNetworkConnected in Java.