private int a()
    {
        int v0_5 = ((android.net.ConnectivityManager) this.a.getSystemService(connectivity)).getActiveNetworkInfo();
        if ((v0_5 != 0) && (v0_5.isConnected())) {
            return v0_5.getType();
        } else {
            return -4;
        }
    }