整点视频 v3.3.0版本的 MD5 值为:cba0457dc37421eed445b30f92de25d3
以下内容为反编译后的 Config.java 源代码,内容仅作参考
package com.czhj.sdk.common.models;
import android.text.TextUtils;
import com.czhj.volley.toolbox.Volley;
public class Config {
private static Config gInstance;
private boolean disable_boot_mark;
private boolean disable_oaid_api;
private int disable_up_oaid;
private String log;
private boolean logenc;
private int max_send_log_records = 100;
private int send_log_interval = 3;
private boolean mIsGDPRRegion = false;
private Config() {
}
public static Config sharedInstance() {
if (gInstance == null) {
synchronized (Config.class) {
if (gInstance == null) {
gInstance = new Config();
}
}
}
return gInstance;
}
public int getDisable_up_OAid() {
return this.disable_up_oaid;
}
public String getLogUrl() {
return TextUtils.isEmpty(this.log) ? "https://dc.sigmob.cn/log" : this.log;
}
public int getMax_send_log_records() {
if (this.max_send_log_records < 10) {
this.max_send_log_records = 100;
}
return this.max_send_log_records;
}
public boolean getOaidApiDisable() {
return this.disable_oaid_api;
}
public int getSend_log_interval() {
return this.send_log_interval;
}
public boolean isDisableBootMark() {
return this.disable_boot_mark;
}
public boolean isEnc() {
return this.logenc;
}
public boolean isGDPRRegion() {
return this.mIsGDPRRegion;
}
public void setEnable_okhttp3(boolean z) {
Volley.setEnableOkhttp3(z);
}
public void update(boolean z, boolean z2, boolean z3, int i, String str, int i2, int i3, boolean z4) {
this.mIsGDPRRegion = z;
this.disable_boot_mark = z2;
this.disable_oaid_api = z3;
this.disable_up_oaid = i;
this.max_send_log_records = i3;
this.send_log_interval = i2;
this.log = str;
this.logenc = z4;
}
}