Call Recorder v6.34.2版本的 MD5 值为:298659ce317c966b10d9947b76831521
以下内容为反编译后的 d.java 源代码,内容仅作参考
package q3;
import com.google.android.gms.common.api.Status;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import org.apache.http.client.utils.URLEncodedUtils;
public final class d implements Runnable {
private static final y3.a f26617c = new y3.a("RevokeAccessOperation", new String[0]);
private final String f26618a;
private final u3.m f26619b = new u3.m(null);
public d(String str) {
this.f26618a = v3.i.f(str);
}
public static t3.g a(String str) {
if (str == null) {
return t3.h.a(new Status(4), null);
}
d dVar = new d(str);
new Thread(dVar).start();
return dVar.f26619b;
}
@Override
public final void run() {
Status status = Status.f7069n;
try {
String str = this.f26618a;
HttpURLConnection httpURLConnection = (HttpURLConnection) new URL("https://accounts.google.com/o/oauth2/revoke?token=" + str).openConnection();
httpURLConnection.setRequestProperty("Content-Type", URLEncodedUtils.CONTENT_TYPE);
int responseCode = httpURLConnection.getResponseCode();
if (responseCode == 200) {
status = Status.f7067k;
} else {
f26617c.b("Unable to revoke access!", new Object[0]);
}
y3.a aVar = f26617c;
aVar.a("Response Code: " + responseCode, new Object[0]);
} catch (IOException e9) {
f26617c.b("IOException when revoking access: ".concat(String.valueOf(e9.toString())), new Object[0]);
} catch (Exception e10) {
f26617c.b("Exception when revoking access: ".concat(String.valueOf(e10.toString())), new Object[0]);
}
this.f26619b.f(status);
}
}