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

应用版本信息
应用名称:Caller ID
版本号:1.8.3
包名称:com.callerid.block

MD5 校验值:5ef3f775189f42f146cf0788a99eebd7

反编译源代码说明

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


package y3;

import android.os.AsyncTask;
import com.callerid.block.main.EZCallApplication;
import com.zhy.http.okhttp.OkHttpUtils;
import java.util.HashMap;
import java.util.Map;
import okhttp3.Response;
import org.json.JSONObject;

public class q {

    public static class a extends AsyncTask<Object, Void, Object> {
        a() {
        }

        @Override
        public String doInBackground(Object[] objArr) {
            EZCallApplication d10 = EZCallApplication.d();
            String str = null;
            try {
                String H = r1.H(d10);
                String J = r1.J(d10);
                HashMap hashMap = new HashMap();
                hashMap.put("device", "android");
                hashMap.put("uid", H);
                hashMap.put("version", J);
                Response execute = OkHttpUtils.post().url("https://app.ayamote.com/api/v1/sertim.php").params((Map<String, String>) hashMap).build().execute();
                if (execute != null && execute.isSuccessful()) {
                    String string = execute.body().string();
                    if (a0.f34733a) {
                        a0.a("servertime", "result:" + string);
                    }
                    if (!"".equals(string)) {
                        str = u.b(string);
                        if (a0.f34733a) {
                            a0.a("servertime", "解密后result=" + str);
                        }
                        JSONObject jSONObject = new JSONObject(str);
                        if (jSONObject.getInt("status") == 1) {
                            String string2 = jSONObject.getString("timestamp");
                            if (a0.f34733a) {
                                a0.a("servertime", "time=" + string2);
                            }
                            long currentTimeMillis = (System.currentTimeMillis() / 1000) - Long.parseLong(string2);
                            c1.X0(d10, currentTimeMillis);
                            if (a0.f34733a) {
                                a0.a("servertime", "midtime=" + currentTimeMillis);
                            }
                        }
                    }
                    r1.P(d10, execute.headers().get("cf-server"));
                }
            } catch (Exception e10) {
                e10.printStackTrace();
            }
            return str;
        }

        @Override
        protected void onPostExecute(Object obj) {
            super.onPostExecute(obj);
            if (obj == null || "".equals(obj.toString())) {
                return;
            }
            p.a();
            n.a();
        }
    }

    public static void a() {
        try {
            new a().executeOnExecutor(m1.a(), new Object[0]);
        } catch (Exception e10) {
            e10.printStackTrace();
        }
    }
}