Files
rr3-apk/decompiled/sources/com/applovin/impl/nn.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

105 lines
3.1 KiB
Java

package com.applovin.impl;
import android.content.Context;
import android.os.Bundle;
import android.widget.ListAdapter;
import android.widget.ListView;
import com.applovin.impl.rn;
import com.applovin.sdk.R;
import java.util.ArrayList;
import java.util.List;
/* loaded from: classes.dex */
public abstract class nn extends se {
private com.applovin.impl.sdk.j a;
private ec b;
public enum b {
TC_NETWORKS,
AC_NETWORKS
}
private dc a(String str, String str2) {
return dc.a().d(str).c(str2).a();
}
@Override // com.applovin.impl.se
public com.applovin.impl.sdk.j getSdk() {
return this.a;
}
public void initialize(com.applovin.impl.sdk.j jVar) {
this.a = jVar;
ArrayList arrayList = new ArrayList();
ArrayList arrayList2 = new ArrayList();
String a2 = a4.b().a(this);
boolean b2 = jVar.k0().b();
if (!b2) {
arrayList2.add(a("Has User Consent", a2));
}
for (rn rnVar : jVar.k0().i()) {
Boolean a3 = rnVar.a();
if (a3 != null) {
if (rnVar.f() == rn.a.TCF_VENDOR) {
arrayList.add(a(rnVar.b(), String.valueOf(a3)));
} else if (rnVar.f() == rn.a.ATP_NETWORK) {
arrayList2.add(a(rnVar.b(), String.valueOf(a3)));
}
} else if (b2 && rnVar.f() == rn.a.ATP_NETWORK) {
arrayList2.add(a(rnVar.b(), a2));
}
}
a aVar = new a(this, arrayList, arrayList2, b2);
this.b = aVar;
aVar.notifyDataSetChanged();
}
public class a extends ec {
final /* synthetic */ ArrayList f;
final /* synthetic */ ArrayList g;
final /* synthetic */ boolean h;
@Override // com.applovin.impl.ec
public int b() {
return b.values().length;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public a(Context context, ArrayList arrayList, ArrayList arrayList2, boolean z) {
super(context);
this.f = arrayList;
this.g = arrayList2;
this.h = z;
}
@Override // com.applovin.impl.ec
public int d(int i) {
if (i == b.TC_NETWORKS.ordinal()) {
return this.f.size();
}
return this.g.size();
}
@Override // com.applovin.impl.ec
public dc e(int i) {
if (i == b.TC_NETWORKS.ordinal()) {
return new fj("TCF VENDORS (TC STRING)");
}
return new fj(this.h ? "ATP NETWORKS (AC STRING)" : "APPLOVIN PRIVACY SETTING");
}
@Override // com.applovin.impl.ec
public List c(int i) {
return i == b.TC_NETWORKS.ordinal() ? this.f : this.g;
}
}
@Override // com.applovin.impl.se, android.app.Activity
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(R.layout.mediation_debugger_list_view);
setTitle("Network Consent Statuses");
((ListView) findViewById(R.id.listView)).setAdapter((ListAdapter) this.b);
}
}