正在查看: Releam v2.13.2 应用的 d.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Releam v2.13.2 应用的 d.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package k3;
import android.util.Log;
import com.google.android.gms.common.api.Status;
import com.google.api.client.http.UrlEncodedParser;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import ka.v;
public final class d implements Runnable {
public static final r3.a V = new r3.a("RevokeAccessOperation", new String[0]);
public final String f6267i;
public final n3.m f6268q;
public d(String str) {
v.q(str);
this.f6267i = str;
this.f6268q = new n3.m(null);
}
@Override
public final void run() {
r3.a aVar = V;
Status status = Status.f3028b0;
try {
String valueOf = String.valueOf(this.f6267i);
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", UrlEncodedParser.CONTENT_TYPE);
int responseCode = httpURLConnection.getResponseCode();
if (responseCode == 200) {
status = Status.Z;
} else {
Log.e((String) aVar.f8507b, aVar.b("Unable to revoke access!", new Object[0]));
}
StringBuilder sb = new StringBuilder(26);
sb.append("Response Code: ");
sb.append(responseCode);
aVar.a(sb.toString(), new Object[0]);
} catch (IOException e10) {
String valueOf2 = String.valueOf(e10.toString());
Log.e((String) aVar.f8507b, aVar.b(valueOf2.length() != 0 ? "IOException when revoking access: ".concat(valueOf2) : new String("IOException when revoking access: "), new Object[0]));
} catch (Exception e11) {
String valueOf3 = String.valueOf(e11.toString());
Log.e((String) aVar.f8507b, aVar.b(valueOf3.length() != 0 ? "Exception when revoking access: ".concat(valueOf3) : new String("Exception when revoking access: "), new Object[0]));
}
this.f6268q.w(status);
}
}