public static boolean isActiveNetworkMetered(android.net.ConnectivityManager p2)
    {
        int v0_0 = p2.getActiveNetworkInfo();
        if (v0_0 == 0) {
            return 1;
        } else {
            switch (v0_0.getType()) {
                case 0:
                case 2:
                case 3:
                case 4:
                case 5:
                case 6:
                    return 1;
                case 1:
                case 7:
                case 9:
                    return 0;
                case 8:
                default:
                    return 1;
            }
        }
    }