PhotoRoom v4.8.2版本的 MD5 值为:c40a01bb3380c0f75c0cb6ac6760f295

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


package qf;

import com.google.android.gms.common.api.Status;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
public final class f implements Runnable {
    private static final zf.a f66271d = new zf.a("RevokeAccessOperation", new String[0]);
    private final String f66272b;
    private final com.google.android.gms.common.api.internal.t f66273c = new com.google.android.gms.common.api.internal.t(null);

    public f(String str) {
        this.f66272b = com.google.android.gms.common.internal.s.f(str);
    }

    public static com.google.android.gms.common.api.h a(String str) {
        if (str == null) {
            return com.google.android.gms.common.api.i.a(new Status(4), null);
        }
        f fVar = new f(str);
        new Thread(fVar).start();
        return fVar.f66273c;
    }

    @Override
    public final void run() {
        Status status = Status.f27148j;
        try {
            String str = this.f66272b;
            HttpURLConnection httpURLConnection = (HttpURLConnection) new URL("https://accounts.google.com/o/oauth2/revoke?token=" + str).openConnection();
            httpURLConnection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
            int responseCode = httpURLConnection.getResponseCode();
            if (responseCode == 200) {
                status = Status.f27146h;
            } else {
                f66271d.c("Unable to revoke access!", new Object[0]);
            }
            zf.a aVar = f66271d;
            aVar.a("Response Code: " + responseCode, new Object[0]);
        } catch (IOException e11) {
            f66271d.c("IOException when revoking access: ".concat(String.valueOf(e11.toString())), new Object[0]);
        } catch (Exception e12) {
            f66271d.c("Exception when revoking access: ".concat(String.valueOf(e12.toString())), new Object[0]);
        }
        this.f66273c.setResult(status);
    }
}