Stick Squad 3 v1.2.5.9版本的 MD5 值为:375cf7f77a7075270cd68d1397368279

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


package com.fusepowered.im.commons.analytics.iat.impl.config;

import com.fusepowered.im.commons.internal.InternalSDKUtil;
import com.fusepowered.im.commons.metric.MetricConfigParams;
import com.fusepowered.im.commons.uid.UIDMapConfigParams;
import com.fusepowered.util.ResponseTags;
import java.util.Map;

public class AdTrackerConfigParams {
    private static final String a = "Starting.*: Intent.*(?:http://market.android.com/details|market://details|play.google.com).*(?:id=" + InternalSDKUtil.getContext().getPackageName() + ").*referrer=([^&\\s]+)";
    private int b = 60;

    private int f239c = 300;
    private String d = a;
    private AdTrackerGoalRetryParams e = new AdTrackerGoalRetryParams();
    private MetricConfigParams f = new MetricConfigParams();
    private UIDMapConfigParams g = new UIDMapConfigParams();

    public int getConnectionTimeout() {
        return this.b * 1000;
    }

    public int getWebviewTimeout() {
        return this.f239c * 1000;
    }

    public int getReferrerWaitTime() {
        return 300000;
    }

    public int getReferrerWaitTimeRetryCount() {
        return 3;
    }

    public int getReferrerWaitTimeRetryInterval() {
        return 5000;
    }

    public String getLogcatPattern() {
        return this.d;
    }

    public AdTrackerGoalRetryParams getRetryParams() {
        return this.e;
    }

    public MetricConfigParams getMetric() {
        return this.f;
    }

    public Map<String, Boolean> getDeviceIdMaskMap() {
        return this.g.getMap();
    }

    public void setFromMap(Map<String, Object> map) {
        this.b = InternalSDKUtil.getIntFromMap(map, "cto", 1, 2147483647L);
        this.f239c = InternalSDKUtil.getIntFromMap(map, "wto", 1, 2147483647L);
        this.d = InternalSDKUtil.getStringFromMap(map, "rlp").replace("$PKG", InternalSDKUtil.getContext().getPackageName());
        this.e.setFromMap((Map) map.get("rp"));
        this.f.setFromMap((Map) map.get("metric"));
        this.g.setMap(InternalSDKUtil.getObjectFromMap(map, ResponseTags.ATTR_IDS));
    }
}