VegeFruits v7.1版本的 MD5 值为:2ff167dfba698c783e879938fe00b9ce

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


package com.moat.analytics.mobile.inm;

import android.os.Handler;
import android.os.Looper;

public class au implements Runnable {
    private static final long b = 90000;
    private final aa a;
    private final String c;
    private final aw d;
    private aq e;

    private au(String str, aa aaVar, aw awVar) {
        this.e = aq.OFF;
        this.a = aaVar;
        this.d = awVar;
        this.c = "https://z.moatads.com/" + str + "/android/" + "f379b01b219fb72670923cc96dc29bbe34213365".substring(0, 7) + "/status.json";
    }

    public au(String str, aa aaVar, aw awVar, as asVar) {
        this(str, aaVar, awVar);
    }

    private void a() {
        long j = 0;
        while (true) {
            long currentTimeMillis = System.currentTimeMillis() - j;
            if (currentTimeMillis < b) {
                try {
                    Thread.sleep((10 + b) - currentTimeMillis);
                } catch (InterruptedException e) {
                }
            }
            j = System.currentTimeMillis();
            aq b2 = b();
            Handler handler = new Handler(Looper.getMainLooper());
            if (!b2.equals(this.e)) {
            }
            this.e = b2;
            handler.post(new av(this, b2));
        }
    }

    private aq b() {
        com.moat.analytics.mobile.inm.base.functional.a<String> a = this.a.a(this.c + "?ts=" + System.currentTimeMillis() + "&v=1.7.11");
        if (!a.c()) {
            return aq.OFF;
        }
        u uVar = new u(a.b());
        boolean unused = ar.d = uVar.a();
        int unused2 = ar.e = uVar.c();
        return uVar.b() ? aq.ON : aq.OFF;
    }

    @Override
    public void run() {
        try {
            a();
        } catch (Exception e) {
            this.e = aq.OFF;
            com.moat.analytics.mobile.inm.base.exception.a.a(e);
        }
    }
}