S T G SuperAPPS v9.99.99版本的 MD5 值为:ec866d8c695a659ed10459d6bd169615
以下内容为反编译后的 c.java 源代码,内容仅作参考
package m3;
import com.google.android.gms.common.api.Status;
import com.google.android.gms.common.api.internal.s;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
public final class c implements Runnable {
private static final t3.a f22788v = new t3.a("RevokeAccessOperation", new String[0]);
private final String f22789t;
private final s f22790u = new s(null);
public c(String str) {
this.f22789t = com.google.android.gms.common.internal.h.f(str);
}
public static p3.c<Status> a(String str) {
if (str == null) {
return p3.d.a(new Status(4), null);
}
c cVar = new c(str);
new Thread(cVar).start();
return cVar.f22790u;
}
@Override
public final void run() {
Status status = Status.A;
try {
String valueOf = String.valueOf(this.f22789t);
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("Content-Type", "application/x-www-form-urlencoded");
int responseCode = httpURLConnection.getResponseCode();
if (responseCode == 200) {
status = Status.f6758y;
} else {
f22788v.b("Unable to revoke access!", new Object[0]);
}
t3.a aVar = f22788v;
StringBuilder sb2 = new StringBuilder(26);
sb2.append("Response Code: ");
sb2.append(responseCode);
aVar.a(sb2.toString(), new Object[0]);
} catch (IOException e10) {
t3.a aVar2 = f22788v;
String valueOf2 = String.valueOf(e10.toString());
aVar2.b(valueOf2.length() != 0 ? "IOException when revoking access: ".concat(valueOf2) : new String("IOException when revoking access: "), new Object[0]);
} catch (Exception e11) {
t3.a aVar3 = f22788v;
String valueOf3 = String.valueOf(e11.toString());
aVar3.b(valueOf3.length() != 0 ? "Exception when revoking access: ".concat(valueOf3) : new String("Exception when revoking access: "), new Object[0]);
}
this.f22790u.g(status);
}
}