밤친구 v4.7.3版本的 MD5 值为:a58175795b36d9d722726efa7eb4c52a

以下内容为反编译后的 j.java 源代码,内容仅作参考


package ae;

import android.content.Context;
import java.io.Serializable;
import java.net.SocketTimeoutException;
import java.util.HashMap;
import java.util.List;

public final class j implements Runnable {

    public final h f675a;

    public j(h hVar) {
        this.f675a = hVar;
    }

    @Override
    public final void run() {
        h hVar = this.f675a;
        try {
            HashMap h10 = hVar.h();
            if (h10 != null && !h10.isEmpty()) {
                Context context = ce.g.f3590a;
                if (context == null) {
                    context = null;
                }
                int a10 = ce.h.b(context, null).a("Common_HttpRetryCount");
                if (a10 == 0) {
                    a10 = 3;
                }
                be.a.b("openSDK_LOG.ReportManager", "-->doReportCgi, retryCount: " + a10);
                boolean z10 = false;
                int i = 0;
                while (true) {
                    i++;
                    try {
                        int i2 = zd.a.a().d("https://wspeed.qq.com/w.cgi", h10).f18922c;
                        be.a.f("openSDK_LOG.ReportManager", "-->doReportCgi, statusCode: " + i2);
                        if (i2 != 200) {
                            break;
                        }
                        g.a().s("report_cgi");
                        z10 = true;
                        break;
                    } catch (SocketTimeoutException e10) {
                        be.a.d("openSDK_LOG.ReportManager", "-->doReportCgi, doupload exception", e10);
                        if (i >= a10) {
                            break;
                        }
                    } catch (Exception e11) {
                        be.a.d("openSDK_LOG.ReportManager", "-->doReportCgi, doupload exception", e11);
                    }
                }
                List<Serializable> list = hVar.f658b;
                if (!z10) {
                    g.a().k("report_cgi", list);
                }
                list.clear();
            }
        } catch (Exception e12) {
            be.a.d("openSDK_LOG.ReportManager", "-->doReportCgi, doupload exception out.", e12);
        }
    }
}