APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:Соседи
版本号:3.1.3
包名称:by.imlab.sosedi.kupilka

MD5 校验值:52ffe34fa08a87a6cc4bc36d7eb3dad1

反编译源代码说明

d.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package ff;

import android.util.Log;
import com.google.android.gms.common.api.Status;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;

public final class d implements Runnable {

    public static final mf.a f14224c = new mf.a("RevokeAccessOperation", new String[0]);

    public final String f14225a;

    public final jf.n f14226b;

    public d(String str) {
        kf.j.f(str);
        this.f14225a = str;
        this.f14226b = new jf.n(null);
    }

    @Override
    public final void run() {
        Status status = Status.f8412h;
        try {
            HttpURLConnection httpURLConnection = (HttpURLConnection) new URL("https://accounts.google.com/o/oauth2/revoke?token=" + this.f14225a).openConnection();
            httpURLConnection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
            int responseCode = httpURLConnection.getResponseCode();
            if (responseCode == 200) {
                status = Status.f8410f;
            } else {
                mf.a aVar = f14224c;
                Log.e(aVar.f25356a, aVar.f25357b.concat("Unable to revoke access!"));
            }
            f14224c.a("Response Code: " + responseCode, new Object[0]);
        } catch (IOException e10) {
            mf.a aVar2 = f14224c;
            Log.e(aVar2.f25356a, aVar2.f25357b.concat("IOException when revoking access: ".concat(String.valueOf(e10.toString()))));
        } catch (Exception e11) {
            mf.a aVar3 = f14224c;
            Log.e(aVar3.f25356a, aVar3.f25357b.concat("Exception when revoking access: ".concat(String.valueOf(e11.toString()))));
        }
        this.f14226b.e(status);
    }
}