Idle Tower v2.48版本的 MD5 值为:56f20496f6a85726b376356ed2ecee23
以下内容为反编译后的 Yodo1MasDebuggerActivity.java 源代码,内容仅作参考
package com.yodo1.mas.debugger.main;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.DividerItemDecoration;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.inmobi.unification.sdk.InitializationStatus;
import com.ironsource.mediationsdk.utils.IronSourceConstants;
import com.yodo1.mas.debugger.config.Yodo1MasDebuggerAdsConfigActivity;
import com.yodo1.mas.debugger.integration.Yodo1MasDebuggerIntegrationActivity;
import com.yodo1.mas.debugger.integration.items.Yodo1MasDebuggerIntegrationItem;
import com.yodo1.mas.debugger.main.Yodo1MasDebuggerAdapter;
import com.yodo1.mas.helper.Yodo1MasHelper;
import com.yodo1.mas.helper.Yodo1MasPrivacy;
import com.yodo1.mas.helper.model.Yodo1MasAdBuildConfig;
import com.yodo1.mas.mediation.Yodo1MasAdapterBase;
import com.yodo1.mas.utils.RR;
import com.yodo1.mas.utils.Yodo1MasUtils;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import okhttp3.Call;
import okhttp3.Callback;
import okhttp3.MediaType;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.RequestBody;
import okhttp3.Response;
import okhttp3.ResponseBody;
import org.json.JSONException;
import org.json.JSONObject;
public class Yodo1MasDebuggerActivity extends AppCompatActivity {
private ProgressDialog dialog;
private JSONObject info;
private final Yodo1MasDebuggerAdapter adapter = new Yodo1MasDebuggerAdapter();
private final ArrayList<Yodo1MasDebuggerIntegrationItem> items = new ArrayList<>();
@Override
protected void onCreate(Bundle bundle) {
super.onCreate(bundle);
setTitle("Yodo1 Mas Debugger");
setContentView(LayoutInflater.from(this).inflate(RR.layout(this, "yodo1_mas_debugger_activity"), (ViewGroup) null));
this.adapter.listener = new Yodo1MasDebuggerAdapter.ItemSelectedListener() {
@Override
public final void onItemSelected(Yodo1MasDebuggerItem yodo1MasDebuggerItem) {
Yodo1MasDebuggerActivity.this.lambda$onCreate$0$Yodo1MasDebuggerActivity(yodo1MasDebuggerItem);
}
};
LinearLayoutManager linearLayoutManager = new LinearLayoutManager(this);
linearLayoutManager.setOrientation(1);
RecyclerView recyclerView = (RecyclerView) findViewById(RR.id(this, "yodo1_mas_debugger_list"));
recyclerView.setLayoutManager(linearLayoutManager);
recyclerView.addItemDecoration(new DividerItemDecoration(this, 1));
recyclerView.setAdapter(this.adapter);
ProgressDialog progressDialog = new ProgressDialog(this);
this.dialog = progressDialog;
progressDialog.show();
JSONObject jSONObject = new JSONObject();
try {
jSONObject.put("sdk_version", Yodo1MasHelper.getInstance().getSdkVersion());
jSONObject.put("os", "Android");
} catch (JSONException e) {
e.printStackTrace();
}
RequestBody create = RequestBody.create(MediaType.parse("application/json; charset=utf-8"), jSONObject.toString());
Request.Builder builder = new Request.Builder();
builder.url("https://sdk-mas.yodo1.com/v1/debug/info");
builder.post(create);
new OkHttpClient.Builder().build().newCall(builder.build()).enqueue(new Callback() {
@Override
public void onFailure(Call call, IOException iOException) {
Yodo1MasDebuggerActivity.this.loadData();
}
@Override
public void onResponse(Call call, Response response) throws IOException {
ResponseBody body = response.body();
if (body != null) {
try {
Yodo1MasDebuggerActivity.this.info = new JSONObject(body.string());
} catch (Exception e2) {
e2.printStackTrace();
}
body.close();
}
Yodo1MasDebuggerActivity.this.loadData();
}
});
}
public void lambda$onCreate$0$Yodo1MasDebuggerActivity(Yodo1MasDebuggerItem yodo1MasDebuggerItem) {
if (Yodo1MasDebuggerItem.KEY_INTEGRATION_STATUS.equals(yodo1MasDebuggerItem.key)) {
Intent intent = new Intent(this, (Class<?>) Yodo1MasDebuggerIntegrationActivity.class);
intent.putParcelableArrayListExtra(Yodo1MasDebuggerIntegrationActivity.KEY_DATA_SOURCE, this.items);
startActivity(intent);
} else {
if ((!Yodo1MasDebuggerItem.KEY_AD_REWARDED.equals(yodo1MasDebuggerItem.key) && !Yodo1MasDebuggerItem.KEY_AD_INTERSTITIAL.equals(yodo1MasDebuggerItem.key) && !Yodo1MasDebuggerItem.KEY_AD_REWARDED_INTERSTITIAL.equals(yodo1MasDebuggerItem.key) && !Yodo1MasDebuggerItem.KEY_AD_BANNER.equals(yodo1MasDebuggerItem.key) && !Yodo1MasDebuggerItem.KEY_AD_APP_OPEN.equals(yodo1MasDebuggerItem.key) && !Yodo1MasDebuggerItem.KEY_AD_NATIVE.equals(yodo1MasDebuggerItem.key)) || TextUtils.isEmpty(yodo1MasDebuggerItem.value) || "null".equals(yodo1MasDebuggerItem.value)) {
return;
}
Intent intent2 = new Intent(this, (Class<?>) Yodo1MasDebuggerAdsConfigActivity.class);
intent2.putExtra("ad_type", yodo1MasDebuggerItem.key);
intent2.putExtra(Yodo1MasDebuggerAdsConfigActivity.KEY_AD_NETWORK, yodo1MasDebuggerItem.value);
startActivity(intent2);
}
}
public void loadData() {
new Thread(new Runnable() {
@Override
public final void run() {
Yodo1MasDebuggerActivity.this.lambda$loadData$2$Yodo1MasDebuggerActivity();
}
}).start();
}
public void lambda$loadData$2$Yodo1MasDebuggerActivity() {
String str;
JSONObject jSONObject;
String str2;
String sdkType;
List<Yodo1MasDebuggerIntegrationItem> fullNetworks;
Iterator<Yodo1MasDebuggerIntegrationItem> it;
this.items.clear();
this.adapter.dataSource.clear();
this.adapter.dataSource.add(new Yodo1MasDebuggerSection("App Base Info", null));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem("app_key", "AppKey", Yodo1MasHelper.getInstance().getAppKey(), 0, null));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_BUNDLE_ID, "Bundle ID", Yodo1MasUtils.getPackageName(this), 0, null));
JSONObject jSONObject2 = this.info;
if (jSONObject2 != null && jSONObject2.has("is_lasted")) {
try {
str = this.info.getBoolean("is_lasted") ? "yodo1_mas_check_pass" : "yodo1_mas_check_warn";
} catch (JSONException e) {
e.printStackTrace();
}
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_APP_VERSION, "App Version", Yodo1MasUtils.getAppVersion(this), 0, str));
jSONObject = this.info;
if (jSONObject != null && jSONObject.has(Yodo1MasDebuggerItem.KEY_IP)) {
try {
str2 = this.info.getString(Yodo1MasDebuggerItem.KEY_IP);
} catch (JSONException e2) {
e2.printStackTrace();
}
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_IP, "IP", str2, 0, null));
String gaid = Yodo1MasHelper.getInstance().getGaid();
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_GAID, IronSourceConstants.TYPE_GAID, gaid, 0, !TextUtils.isEmpty(gaid) ? "yodo1_mas_check_warn" : "yodo1_mas_check_pass"));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_TEST_DEVICE, "Test Device", !Yodo1MasHelper.getInstance().isTestDevice() ? "True" : "False", 0, null));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_TEST_MODE, "Test Mode", !Yodo1MasHelper.getInstance().isTestMode() ? "On" : "Off", 0, null));
this.adapter.dataSource.add(new Yodo1MasDebuggerSection("SDK Integration", null));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_MAS_SDK_VERSION, "MAS SDK Version", Yodo1MasHelper.getInstance().getSdkVersion(), 0, "yodo1_mas_check_warn"));
sdkType = Yodo1MasUtils.getSdkType(getApplicationContext());
if (TextUtils.isEmpty(sdkType)) {
char c = 65535;
int hashCode = sdkType.hashCode();
if (hashCode != 699368292) {
if (hashCode == 1898666138 && sdkType.equals("mas_gp_family")) {
c = 1;
}
} else if (sdkType.equals("mas_gp_lite")) {
c = 0;
}
if (c == 0) {
fullNetworks = Yodo1MasDebuggerIntegrationItem.liteNetworks(this);
} else if (c == 1) {
fullNetworks = Yodo1MasDebuggerIntegrationItem.googleNetworks(this);
} else {
fullNetworks = Yodo1MasDebuggerIntegrationItem.fullNetworks(this);
}
} else {
fullNetworks = Yodo1MasDebuggerIntegrationItem.fullNetworks(this);
}
for (Yodo1MasDebuggerIntegrationItem yodo1MasDebuggerIntegrationItem : fullNetworks) {
if (yodo1MasDebuggerIntegrationItem.adapterStatusOfYodo1 != Yodo1MasDebuggerIntegrationItem.AdapterStatus.Null) {
this.items.add(yodo1MasDebuggerIntegrationItem);
}
}
boolean z = this.items.size() <= 0;
it = this.items.iterator();
while (it.hasNext()) {
Yodo1MasDebuggerIntegrationItem next = it.next();
if (next.sdkStatus == Yodo1MasDebuggerIntegrationItem.SdkStatus.Null || next.adapterStatusOfYodo1 == Yodo1MasDebuggerIntegrationItem.AdapterStatus.Null) {
z = false;
break;
}
}
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_INTEGRATION_STATUS, "Integration Status", !z ? InitializationStatus.SUCCESS : "Fail", 0, z ? "yodo1_mas_check_pass" : "yodo1_mas_check_error"));
Yodo1MasAdBuildConfig adBuildConfig = Yodo1MasHelper.getInstance().getAdBuildConfig();
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_PRIVACY_DIALOG, "Privacy Dialog", !(adBuildConfig == null && adBuildConfig.isEnableUserPrivacyDialog()) ? "On" : "Off", 0, null));
Yodo1MasHelper.getInstance().isCOPPAAgeRestricted();
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_COPPA_VALUE, "COPPA Value", Yodo1MasPrivacy.getInstance().getCOPPAAgeRestrictedString(), 0, null));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_GDPR_VALUE, "GDPR Value", Yodo1MasPrivacy.getInstance().getGDPRUserConsentString(), 0, null));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_CCPA_VALUE, "CCPA Value", Yodo1MasPrivacy.getInstance().getCCPADoNotSellString(), 0, null));
if (Yodo1MasHelper.getInstance().isInit()) {
this.adapter.dataSource.add(new Yodo1MasDebuggerSection("Ads Config", Yodo1MasHelper.getInstance().isTestDevice() && Yodo1MasHelper.getInstance().isTestMode() ? "Test ads" : "Live ads"));
Yodo1MasDebuggerItem yodo1MasDebuggerItem = new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_AD_REWARDED, IronSourceConstants.REWARDED_VIDEO_AD_UNIT, "null", 0, null);
List<Yodo1MasAdapterBase> adaptersForReward = Yodo1MasHelper.getInstance().getAdaptersForReward();
if (adaptersForReward.size() > 0) {
yodo1MasDebuggerItem.value = adaptersForReward.get(0).mediationName;
yodo1MasDebuggerItem.arrow = "yodo1_mas_arrow_right";
}
this.adapter.dataSource.add(yodo1MasDebuggerItem);
Yodo1MasDebuggerItem yodo1MasDebuggerItem2 = new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_AD_INTERSTITIAL, "Interstitial Video", "null", 0, null);
List<Yodo1MasAdapterBase> adaptersForInterstitial = Yodo1MasHelper.getInstance().getAdaptersForInterstitial();
if (adaptersForInterstitial.size() > 0) {
yodo1MasDebuggerItem2.value = adaptersForInterstitial.get(0).mediationName;
yodo1MasDebuggerItem2.arrow = "yodo1_mas_arrow_right";
}
this.adapter.dataSource.add(yodo1MasDebuggerItem2);
Yodo1MasDebuggerItem yodo1MasDebuggerItem3 = new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_AD_REWARDED_INTERSTITIAL, "Rewarded Interstitial", "null", 0, null);
List<Yodo1MasAdapterBase> adaptersForRewardedInterstitial = Yodo1MasHelper.getInstance().getAdaptersForRewardedInterstitial();
if (adaptersForRewardedInterstitial.size() > 0) {
yodo1MasDebuggerItem3.value = adaptersForRewardedInterstitial.get(0).mediationName;
yodo1MasDebuggerItem3.arrow = "yodo1_mas_arrow_right";
}
this.adapter.dataSource.add(yodo1MasDebuggerItem3);
Yodo1MasDebuggerItem yodo1MasDebuggerItem4 = new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_AD_BANNER, IronSourceConstants.BANNER_AD_UNIT, "null", 0, null);
List<Yodo1MasAdapterBase> adaptersForBanner = Yodo1MasHelper.getInstance().getAdaptersForBanner();
if (adaptersForBanner.size() > 0) {
yodo1MasDebuggerItem4.value = adaptersForBanner.get(0).mediationName;
yodo1MasDebuggerItem4.arrow = "yodo1_mas_arrow_right";
}
this.adapter.dataSource.add(yodo1MasDebuggerItem4);
Yodo1MasDebuggerItem yodo1MasDebuggerItem5 = new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_AD_APP_OPEN, "App Open", "null", 0, null);
List<Yodo1MasAdapterBase> adaptersForAppOpenAd = Yodo1MasHelper.getInstance().getAdaptersForAppOpenAd();
if (adaptersForAppOpenAd.size() > 0) {
yodo1MasDebuggerItem5.value = adaptersForAppOpenAd.get(0).mediationName;
yodo1MasDebuggerItem5.arrow = "yodo1_mas_arrow_right";
}
this.adapter.dataSource.add(yodo1MasDebuggerItem5);
Yodo1MasDebuggerItem yodo1MasDebuggerItem6 = new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_AD_NATIVE, "Native", "null", 0, null);
List<Yodo1MasAdapterBase> adaptersForNative = Yodo1MasHelper.getInstance().getAdaptersForNative();
if (adaptersForNative.size() > 0) {
yodo1MasDebuggerItem6.value = adaptersForNative.get(0).mediationName;
yodo1MasDebuggerItem6.arrow = "yodo1_mas_arrow_right";
}
this.adapter.dataSource.add(yodo1MasDebuggerItem6);
}
runOnUiThread(new Runnable() {
@Override
public final void run() {
Yodo1MasDebuggerActivity.this.lambda$loadData$1$Yodo1MasDebuggerActivity();
}
});
}
str2 = null;
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_IP, "IP", str2, 0, null));
String gaid2 = Yodo1MasHelper.getInstance().getGaid();
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_GAID, IronSourceConstants.TYPE_GAID, gaid2, 0, !TextUtils.isEmpty(gaid2) ? "yodo1_mas_check_warn" : "yodo1_mas_check_pass"));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_TEST_DEVICE, "Test Device", !Yodo1MasHelper.getInstance().isTestDevice() ? "True" : "False", 0, null));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_TEST_MODE, "Test Mode", !Yodo1MasHelper.getInstance().isTestMode() ? "On" : "Off", 0, null));
this.adapter.dataSource.add(new Yodo1MasDebuggerSection("SDK Integration", null));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_MAS_SDK_VERSION, "MAS SDK Version", Yodo1MasHelper.getInstance().getSdkVersion(), 0, "yodo1_mas_check_warn"));
sdkType = Yodo1MasUtils.getSdkType(getApplicationContext());
if (TextUtils.isEmpty(sdkType)) {
}
while (r0.hasNext()) {
}
if (this.items.size() <= 0) {
}
it = this.items.iterator();
while (it.hasNext()) {
}
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_INTEGRATION_STATUS, "Integration Status", !z ? InitializationStatus.SUCCESS : "Fail", 0, z ? "yodo1_mas_check_pass" : "yodo1_mas_check_error"));
Yodo1MasAdBuildConfig adBuildConfig2 = Yodo1MasHelper.getInstance().getAdBuildConfig();
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_PRIVACY_DIALOG, "Privacy Dialog", !(adBuildConfig2 == null && adBuildConfig2.isEnableUserPrivacyDialog()) ? "On" : "Off", 0, null));
Yodo1MasHelper.getInstance().isCOPPAAgeRestricted();
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_COPPA_VALUE, "COPPA Value", Yodo1MasPrivacy.getInstance().getCOPPAAgeRestrictedString(), 0, null));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_GDPR_VALUE, "GDPR Value", Yodo1MasPrivacy.getInstance().getGDPRUserConsentString(), 0, null));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_CCPA_VALUE, "CCPA Value", Yodo1MasPrivacy.getInstance().getCCPADoNotSellString(), 0, null));
if (Yodo1MasHelper.getInstance().isInit()) {
}
runOnUiThread(new Runnable() {
@Override
public final void run() {
Yodo1MasDebuggerActivity.this.lambda$loadData$1$Yodo1MasDebuggerActivity();
}
});
}
str = null;
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_APP_VERSION, "App Version", Yodo1MasUtils.getAppVersion(this), 0, str));
jSONObject = this.info;
if (jSONObject != null) {
str2 = this.info.getString(Yodo1MasDebuggerItem.KEY_IP);
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_IP, "IP", str2, 0, null));
String gaid22 = Yodo1MasHelper.getInstance().getGaid();
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_GAID, IronSourceConstants.TYPE_GAID, gaid22, 0, !TextUtils.isEmpty(gaid22) ? "yodo1_mas_check_warn" : "yodo1_mas_check_pass"));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_TEST_DEVICE, "Test Device", !Yodo1MasHelper.getInstance().isTestDevice() ? "True" : "False", 0, null));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_TEST_MODE, "Test Mode", !Yodo1MasHelper.getInstance().isTestMode() ? "On" : "Off", 0, null));
this.adapter.dataSource.add(new Yodo1MasDebuggerSection("SDK Integration", null));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_MAS_SDK_VERSION, "MAS SDK Version", Yodo1MasHelper.getInstance().getSdkVersion(), 0, "yodo1_mas_check_warn"));
sdkType = Yodo1MasUtils.getSdkType(getApplicationContext());
if (TextUtils.isEmpty(sdkType)) {
}
while (r0.hasNext()) {
}
if (this.items.size() <= 0) {
}
it = this.items.iterator();
while (it.hasNext()) {
}
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_INTEGRATION_STATUS, "Integration Status", !z ? InitializationStatus.SUCCESS : "Fail", 0, z ? "yodo1_mas_check_pass" : "yodo1_mas_check_error"));
Yodo1MasAdBuildConfig adBuildConfig22 = Yodo1MasHelper.getInstance().getAdBuildConfig();
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_PRIVACY_DIALOG, "Privacy Dialog", !(adBuildConfig22 == null && adBuildConfig22.isEnableUserPrivacyDialog()) ? "On" : "Off", 0, null));
Yodo1MasHelper.getInstance().isCOPPAAgeRestricted();
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_COPPA_VALUE, "COPPA Value", Yodo1MasPrivacy.getInstance().getCOPPAAgeRestrictedString(), 0, null));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_GDPR_VALUE, "GDPR Value", Yodo1MasPrivacy.getInstance().getGDPRUserConsentString(), 0, null));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_CCPA_VALUE, "CCPA Value", Yodo1MasPrivacy.getInstance().getCCPADoNotSellString(), 0, null));
if (Yodo1MasHelper.getInstance().isInit()) {
}
runOnUiThread(new Runnable() {
@Override
public final void run() {
Yodo1MasDebuggerActivity.this.lambda$loadData$1$Yodo1MasDebuggerActivity();
}
});
}
str2 = null;
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_IP, "IP", str2, 0, null));
String gaid222 = Yodo1MasHelper.getInstance().getGaid();
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_GAID, IronSourceConstants.TYPE_GAID, gaid222, 0, !TextUtils.isEmpty(gaid222) ? "yodo1_mas_check_warn" : "yodo1_mas_check_pass"));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_TEST_DEVICE, "Test Device", !Yodo1MasHelper.getInstance().isTestDevice() ? "True" : "False", 0, null));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_TEST_MODE, "Test Mode", !Yodo1MasHelper.getInstance().isTestMode() ? "On" : "Off", 0, null));
this.adapter.dataSource.add(new Yodo1MasDebuggerSection("SDK Integration", null));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_MAS_SDK_VERSION, "MAS SDK Version", Yodo1MasHelper.getInstance().getSdkVersion(), 0, "yodo1_mas_check_warn"));
sdkType = Yodo1MasUtils.getSdkType(getApplicationContext());
if (TextUtils.isEmpty(sdkType)) {
}
while (r0.hasNext()) {
}
if (this.items.size() <= 0) {
}
it = this.items.iterator();
while (it.hasNext()) {
}
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_INTEGRATION_STATUS, "Integration Status", !z ? InitializationStatus.SUCCESS : "Fail", 0, z ? "yodo1_mas_check_pass" : "yodo1_mas_check_error"));
Yodo1MasAdBuildConfig adBuildConfig222 = Yodo1MasHelper.getInstance().getAdBuildConfig();
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_PRIVACY_DIALOG, "Privacy Dialog", !(adBuildConfig222 == null && adBuildConfig222.isEnableUserPrivacyDialog()) ? "On" : "Off", 0, null));
Yodo1MasHelper.getInstance().isCOPPAAgeRestricted();
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_COPPA_VALUE, "COPPA Value", Yodo1MasPrivacy.getInstance().getCOPPAAgeRestrictedString(), 0, null));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_GDPR_VALUE, "GDPR Value", Yodo1MasPrivacy.getInstance().getGDPRUserConsentString(), 0, null));
this.adapter.dataSource.add(new Yodo1MasDebuggerItem(Yodo1MasDebuggerItem.KEY_CCPA_VALUE, "CCPA Value", Yodo1MasPrivacy.getInstance().getCCPADoNotSellString(), 0, null));
if (Yodo1MasHelper.getInstance().isInit()) {
}
runOnUiThread(new Runnable() {
@Override
public final void run() {
Yodo1MasDebuggerActivity.this.lambda$loadData$1$Yodo1MasDebuggerActivity();
}
});
}
public void lambda$loadData$1$Yodo1MasDebuggerActivity() {
this.dialog.dismiss();
this.adapter.notifyDataSetChanged();
}
}