CCIPTV PRO v3.0.9.1版本的 MD5 值为:e78d4d980447be4a9f823314f45bbf03

以下内容为反编译后的 f.java 源代码,内容仅作参考


package f.f.a.d.b.a.e.b;

import com.google.android.gms.common.api.Status;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import org.jsoup.helper.HttpConnection;
public final class f implements Runnable {
    public static final f.f.a.d.f.p.a f7259d = new f.f.a.d.f.p.a("RevokeAccessOperation", new String[0]);
    public final String b;
    public final f.f.a.d.f.m.r.r c;

    public f(String str) {
        f.f.a.d.f.o.s.g(str);
        this.b = str;
        this.c = new f.f.a.d.f.m.r.r(null);
    }

    public static f.f.a.d.f.m.h<Status> a(String str) {
        if (str == null) {
            return f.f.a.d.f.m.i.a(new Status(4), null);
        }
        f fVar = new f(str);
        new Thread(fVar).start();
        return fVar.c;
    }

    @Override
    public final void run() {
        Status status = Status.f2765g;
        try {
            String valueOf = String.valueOf(this.b);
            HttpURLConnection httpURLConnection = (HttpURLConnection) new URL(valueOf.length() != 0 ? "https://accounts.google.com/o/oauth2/revoke?token=".concat(valueOf) : new String("https://accounts.google.com/o/oauth2/revoke?token=")).openConnection();
            httpURLConnection.setRequestProperty(HttpConnection.CONTENT_TYPE, HttpConnection.FORM_URL_ENCODED);
            int responseCode = httpURLConnection.getResponseCode();
            if (responseCode == 200) {
                status = Status.f2764f;
            } else {
                f7259d.b("Unable to revoke access!", new Object[0]);
            }
            f.f.a.d.f.p.a aVar = f7259d;
            StringBuilder sb = new StringBuilder(26);
            sb.append("Response Code: ");
            sb.append(responseCode);
            aVar.a(sb.toString(), new Object[0]);
        } catch (IOException e2) {
            f.f.a.d.f.p.a aVar2 = f7259d;
            String valueOf2 = String.valueOf(e2.toString());
            aVar2.b(valueOf2.length() != 0 ? "IOException when revoking access: ".concat(valueOf2) : new String("IOException when revoking access: "), new Object[0]);
        } catch (Exception e3) {
            f.f.a.d.f.p.a aVar3 = f7259d;
            String valueOf3 = String.valueOf(e3.toString());
            aVar3.b(valueOf3.length() != 0 ? "Exception when revoking access: ".concat(valueOf3) : new String("Exception when revoking access: "), new Object[0]);
        }
        this.c.i(status);
    }
}