package com.igaworks.ssp.common; import android.R; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; import android.content.res.Configuration; import com.google.android.gms.ads.RequestConfiguration; import com.igaworks.ssp.AdPopcornSSPUserProperties; import com.igaworks.ssp.SdkInitListener; import com.igaworks.ssp.common.a; import com.igaworks.ssp.common.adapter.BaseMediationAdapter; import com.igaworks.ssp.common.n.a; import com.igaworks.ssp.common.o.k; import com.igaworks.ssp.part.banner.AdPopcornSSPBannerAd; import com.igaworks.ssp.part.custom.AdPopcornSSPCustomAd; import com.igaworks.ssp.part.custom.AdPopcornSSPReactNativeAd; import com.igaworks.ssp.part.custom.OneStoreAd; import com.igaworks.ssp.part.interstitial.AdPopcornSSPInterstitialAd; import com.igaworks.ssp.part.nativead.AdPopcornSSPNativeAd; import com.igaworks.ssp.part.splash.AdPopcornSSPSplashAd; import com.igaworks.ssp.part.video.AdPopcornSSPInterstitialVideoAd; import com.igaworks.ssp.part.video.AdPopcornSSPRewardVideoAd; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /* loaded from: classes2.dex */ public class g { /* renamed from: u, reason: collision with root package name */ private static g f6579u; /* renamed from: a, reason: collision with root package name */ private com.igaworks.ssp.common.n.b f6580a; /* renamed from: b, reason: collision with root package name */ private ArrayList f6581b; /* renamed from: c, reason: collision with root package name */ private com.igaworks.ssp.common.n.a f6582c; /* renamed from: e, reason: collision with root package name */ private ArrayList f6584e; /* renamed from: f, reason: collision with root package name */ private ArrayList f6585f; /* renamed from: g, reason: collision with root package name */ private ArrayList f6586g; /* renamed from: h, reason: collision with root package name */ private ArrayList f6587h; /* renamed from: i, reason: collision with root package name */ private ArrayList f6588i; /* renamed from: j, reason: collision with root package name */ private ArrayList f6589j; /* renamed from: k, reason: collision with root package name */ private ArrayList f6590k; /* renamed from: l, reason: collision with root package name */ private ArrayList f6591l; /* renamed from: m, reason: collision with root package name */ private ArrayList f6592m; /* renamed from: n, reason: collision with root package name */ private Context f6593n; /* renamed from: s, reason: collision with root package name */ private com.igaworks.ssp.common.m.c f6598s; /* renamed from: d, reason: collision with root package name */ private boolean f6583d = false; /* renamed from: o, reason: collision with root package name */ private boolean f6594o = true; /* renamed from: p, reason: collision with root package name */ private String f6595p = RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED; /* renamed from: q, reason: collision with root package name */ private boolean f6596q = false; /* renamed from: r, reason: collision with root package name */ private int f6597r = 0; /* renamed from: t, reason: collision with root package name */ private AdPopcornSSPUserProperties f6599t = null; class a implements com.igaworks.ssp.common.n.c { /* renamed from: a, reason: collision with root package name */ final /* synthetic */ Context f6600a; /* renamed from: b, reason: collision with root package name */ final /* synthetic */ SdkInitListener f6601b; /* renamed from: com.igaworks.ssp.common.g$a$a, reason: collision with other inner class name */ class C0079a implements SdkInitListener { C0079a() { } @Override // com.igaworks.ssp.SdkInitListener public void onInitializationFinished() { a aVar = a.this; g.this.a(aVar.f6601b); } } class b implements SdkInitListener { b() { } @Override // com.igaworks.ssp.SdkInitListener public void onInitializationFinished() { a aVar = a.this; g.this.a(aVar.f6601b); } } a(Context context, SdkInitListener sdkInitListener) { this.f6600a = context; this.f6601b = sdkInitListener; } @Override // com.igaworks.ssp.common.n.c public void a(a.d dVar, String str, String str2, boolean z10) { g gVar; g gVar2; try { if (z10) { com.igaworks.ssp.common.o.m.a.c(Thread.currentThread(), "CentralProcessor initialize timeout"); return; } if (k.b(str)) { com.igaworks.ssp.common.o.m.a.c(Thread.currentThread(), "CentralProcessor response null"); return; } g.this.f6597r = 0; g.this.f6598s = com.igaworks.ssp.common.l.a.a(str); if (g.this.f6598s != null && g.this.f6598s.a("vungle_app_id") != null) { com.igaworks.ssp.common.b a10 = com.igaworks.ssp.common.b.a(com.igaworks.ssp.common.b.VUNGLE.a()); try { BaseMediationAdapter d10 = a10.d(); ((BaseMediationAdapter) Class.forName(a10.b()).cast(d10)).checkValidMediation(); d10.initializeInAppBidding(this.f6600a.getApplicationContext(), g.this.f6598s, new C0079a()); } catch (Exception unused) { gVar = g.this; } catch (NoClassDefFoundError unused2) { gVar = g.this; } catch (NoSuchMethodError unused3) { gVar = g.this; } if (g.this.f6598s != null || g.this.f6598s.a("tapjoy_sdk_key") == null) { gVar2 = g.this; } else { com.igaworks.ssp.common.b a11 = com.igaworks.ssp.common.b.a(com.igaworks.ssp.common.b.TAPJOY.a()); try { BaseMediationAdapter d11 = a11.d(); ((BaseMediationAdapter) Class.forName(a11.b()).cast(d11)).checkValidMediation(); d11.initializeInAppBidding(this.f6600a.getApplicationContext(), g.this.f6598s, new b()); return; } catch (Exception unused4) { gVar2 = g.this; } catch (NoClassDefFoundError unused5) { gVar2 = g.this; } catch (NoSuchMethodError unused6) { gVar2 = g.this; } } gVar2.a(this.f6601b); } gVar = g.this; gVar.a(this.f6601b); if (g.this.f6598s != null) { } gVar2 = g.this; gVar2.a(this.f6601b); } catch (Exception e10) { com.igaworks.ssp.common.o.m.a.a(Thread.currentThread(), e10); SdkInitListener sdkInitListener = this.f6601b; if (sdkInitListener != null) { sdkInitListener.onInitializationFinished(); } } } } public class b extends Thread { /* renamed from: a, reason: collision with root package name */ private Context f6605a; class a implements a.c { a() { } @Override // com.igaworks.ssp.common.a.c public void a(a.d dVar) { if (dVar != null) { g.this.f6580a.a(dVar.a()); g.this.f6580a.a(dVar.b()); } else { try { g.this.f6580a.a(b.this.f6605a.getSharedPreferences("adpopcorn_parameter", 0).getString("google_ad_id", null)); } catch (Exception e10) { com.igaworks.ssp.common.o.m.a.a(Thread.currentThread(), e10); } } com.igaworks.ssp.common.o.m.a.a(Thread.currentThread(), "AdInfo onResult, Ad Id : " + g.this.f6580a.a()); g.this.f6583d = true; if (g.this.f6581b != null) { Iterator it = g.this.f6581b.iterator(); while (it.hasNext()) { ((com.igaworks.ssp.common.o.c) it.next()).a(); } g.this.f6581b.clear(); } g.this.f6596q = true; } } public b(Context context) { this.f6605a = context; } @Override // java.lang.Thread, java.lang.Runnable public void run() { try { if (g.this.f6580a == null) { g.this.a(this.f6605a, (String) null); return; } if (!k.a(g.this.f6580a.a())) { h.a(this.f6605a).a(this.f6605a, new a()); return; } com.igaworks.ssp.common.o.m.a.a(Thread.currentThread(), "Already Loaded AdInfo onResult, Ad Id : " + g.this.f6580a.a()); g.this.f6583d = true; if (g.this.f6581b != null) { Iterator it = g.this.f6581b.iterator(); while (it.hasNext()) { ((com.igaworks.ssp.common.o.c) it.next()).a(); } g.this.f6581b.clear(); } g.this.f6596q = true; } catch (Exception e10) { com.igaworks.ssp.common.o.m.a.a(Thread.currentThread(), e10); g.this.f6596q = true; } } } private g() { } private static int a(Context context) { return (((Activity) context).getWindow().getAttributes().flags & 1024) == 1024 ? R.style.Theme.Translucent.NoTitleBar.Fullscreen : R.style.Theme.Translucent.NoTitleBar; } public static g e() { if (f6579u == null) { f6579u = new g(); } return f6579u; } public com.igaworks.ssp.common.n.a b() { if (this.f6582c == null) { this.f6582c = new com.igaworks.ssp.common.n.a(); } return this.f6582c; } public com.igaworks.ssp.common.n.b c() { if (this.f6580a == null) { this.f6580a = new com.igaworks.ssp.common.n.b(); } return this.f6580a; } public boolean d() { try { this.f6594o = this.f6593n.getSharedPreferences("adpopcorn_parameter", 0).getBoolean("ssp_gdpr_consent", true); com.igaworks.ssp.common.o.m.a.c(Thread.currentThread(), "getGdprAvailable : " + this.f6594o); } catch (Exception e10) { e10.printStackTrace(); } return this.f6594o; } public String f() { try { return this.f6593n.getSharedPreferences("adpopcorn_parameter", 0).getString("adpopcorn_ssp_dfnid", null); } catch (Exception unused) { return null; } } public String g() { try { this.f6595p = this.f6593n.getSharedPreferences("adpopcorn_parameter", 0).getString("ssp_usn", RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED); com.igaworks.ssp.common.o.m.a.c(Thread.currentThread(), "getUsn : " + this.f6595p); } catch (Exception e10) { e10.printStackTrace(); } return this.f6595p; } public AdPopcornSSPUserProperties h() { try { if (this.f6599t == null) { SharedPreferences sharedPreferences = this.f6593n.getSharedPreferences("adpopcorn_parameter", 0); if (sharedPreferences.getBoolean("adpopcorn_sdk_use_user_properties", false)) { int i10 = sharedPreferences.getInt("adpopcorn_sdk_yob", 0); int i11 = sharedPreferences.getInt("adpopcorn_sdk_gender", -1); String string = sharedPreferences.getString("adpopcorn_sdk_country", null); String string2 = sharedPreferences.getString("adpopcorn_sdk_language", null); AdPopcornSSPUserProperties.Builder builder = new AdPopcornSSPUserProperties.Builder(); if (i10 > 0) { builder.yob(i10); } if (i11 >= 0) { builder.gender(i11); } if (string != null) { builder.country(string); } if (string2 != null) { builder.language(string2); } this.f6599t = builder.build(); } } } catch (Exception unused) { } return this.f6599t; } public boolean i() { return this.f6583d; } public void j() { try { com.igaworks.ssp.common.o.m.a.c(Thread.currentThread(), "onDestroy Call"); com.igaworks.ssp.common.k.a.a(this.f6593n); com.igaworks.ssp.common.k.a.b(this.f6593n); ArrayList arrayList = this.f6581b; if (arrayList != null) { arrayList.clear(); this.f6581b = null; } this.f6580a = null; this.f6583d = false; if (com.igaworks.ssp.common.o.d.a(this.f6581b)) { this.f6581b.clear(); this.f6581b = null; } if (this.f6582c != null) { this.f6582c = null; } this.f6583d = false; if (f6579u != null) { f6579u = null; } a(); com.igaworks.ssp.part.interstitial.listener.a.c().a(); com.igaworks.ssp.common.o.f.a(this.f6593n); } catch (Exception e10) { com.igaworks.ssp.common.o.m.a.a(Thread.currentThread(), e10); } this.f6596q = false; } public void b(Context context, String str) { try { com.igaworks.ssp.common.o.m.a.c(Thread.currentThread(), "setUserId : " + str); context.getSharedPreferences("adpopcorn_parameter", 0).edit().putString("ssp_usn", str).commit(); } catch (Exception e10) { e10.printStackTrace(); } } public void c(String str) { try { Context context = this.f6593n; if (context == null || this.f6580a == null) { return; } SharedPreferences.Editor edit = context.getSharedPreferences("adpopcorn_parameter", 0).edit(); edit.putString("adpopcorn_ssp_dfnid_match_adid", this.f6580a.a()); if (str != null) { edit.putString("adpopcorn_ssp_dfnid", str); } edit.apply(); } catch (Exception unused) { } } public void b(AdPopcornSSPBannerAd adPopcornSSPBannerAd) { try { ArrayList arrayList = this.f6584e; if (arrayList != null && arrayList.contains(adPopcornSSPBannerAd)) { this.f6584e.remove(adPopcornSSPBannerAd); } } catch (Exception unused) { } } public List a(String str) { try { if (this.f6598s.a() != null) { com.igaworks.ssp.common.o.m.a.c(Thread.currentThread(), "getInAppBiddingListInfo : " + this.f6598s.a().toString()); return this.f6598s.a().get(str); } } catch (Exception unused) { } return null; } public void b(AdPopcornSSPCustomAd adPopcornSSPCustomAd) { try { ArrayList arrayList = this.f6591l; if (arrayList != null && arrayList.contains(adPopcornSSPCustomAd)) { this.f6591l.remove(adPopcornSSPCustomAd); } } catch (Exception unused) { } } public void a() { try { if (this.f6584e != null) { for (int i10 = 0; i10 < this.f6584e.size(); i10++) { this.f6584e.get(i10).stopAd(); } this.f6584e.clear(); } } catch (Exception unused) { } try { if (this.f6585f != null) { for (int i11 = 0; i11 < this.f6585f.size(); i11++) { this.f6585f.get(i11).destroy(); } this.f6585f.clear(); } } catch (Exception unused2) { } try { if (this.f6586g != null) { for (int i12 = 0; i12 < this.f6586g.size(); i12++) { this.f6586g.get(i12).destroy(); } this.f6586g.clear(); } } catch (Exception unused3) { } try { if (this.f6587h != null) { for (int i13 = 0; i13 < this.f6587h.size(); i13++) { this.f6587h.get(i13).destroy(); } this.f6587h.clear(); } } catch (Exception unused4) { } try { if (this.f6589j != null) { for (int i14 = 0; i14 < this.f6589j.size(); i14++) { this.f6589j.get(i14).destroy(); } this.f6589j.clear(); } } catch (Exception unused5) { } try { if (this.f6590k != null) { for (int i15 = 0; i15 < this.f6590k.size(); i15++) { this.f6590k.get(i15).destroy(); } this.f6590k.clear(); } } catch (Exception unused6) { } try { if (this.f6591l != null) { for (int i16 = 0; i16 < this.f6591l.size(); i16++) { this.f6591l.get(i16).stopAd(); } this.f6591l.clear(); } } catch (Exception unused7) { } try { if (this.f6588i != null) { for (int i17 = 0; i17 < this.f6588i.size(); i17++) { this.f6588i.get(i17).destroy(); } this.f6588i.clear(); } } catch (Exception unused8) { } } public void b(AdPopcornSSPReactNativeAd adPopcornSSPReactNativeAd) { try { ArrayList arrayList = this.f6592m; if (arrayList != null && arrayList.contains(adPopcornSSPReactNativeAd)) { this.f6592m.remove(adPopcornSSPReactNativeAd); } } catch (Exception unused) { } } public static void a(Activity activity, String str) { try { int a10 = a(activity); boolean z10 = false; boolean z11 = a10 == 16973841; Configuration configuration = activity.getResources().getConfiguration(); if (configuration != null && configuration.orientation == 2) { z10 = true; } new com.igaworks.ssp.common.j.e(activity, a10, z10, z11, str).show(); } catch (Exception e10) { e10.printStackTrace(); } } public void b(AdPopcornSSPNativeAd adPopcornSSPNativeAd) { try { ArrayList arrayList = this.f6587h; if (arrayList != null && arrayList.contains(adPopcornSSPNativeAd)) { this.f6587h.remove(adPopcornSSPNativeAd); } } catch (Exception unused) { } } /* JADX ERROR: JadxRuntimeException in pass: RegionMakerVisitor jadx.core.utils.exceptions.JadxRuntimeException: Can't find top splitter block for handler:B:13:0x00a9 at jadx.core.utils.BlockUtils.getTopSplitterForHandler(BlockUtils.java:1179) at jadx.core.dex.visitors.regions.maker.ExcHandlersRegionMaker.collectHandlerRegions(ExcHandlersRegionMaker.java:53) at jadx.core.dex.visitors.regions.maker.ExcHandlersRegionMaker.process(ExcHandlersRegionMaker.java:38) at jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:27) */ /* JADX WARN: Removed duplicated region for block: B:16:0x00b2 A[Catch: Exception -> 0x00cc, TRY_LEAVE, TryCatch #2 {Exception -> 0x00cc, blocks: (B:11:0x00aa, B:16:0x00b2), top: B:10:0x00aa }] */ /* JADX WARN: Removed duplicated region for block: B:20:0x00dc */ /* JADX WARN: Removed duplicated region for block: B:23:0x00e7 */ /* JADX WARN: Removed duplicated region for block: B:28:0x0154 A[Catch: Exception -> 0x015d, TryCatch #1 {Exception -> 0x015d, blocks: (B:26:0x014e, B:28:0x0154, B:30:0x015a), top: B:25:0x014e }] */ /* JADX WARN: Removed duplicated region for block: B:35:? A[ADDED_TO_REGION, RETURN, SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:39:0x00c8 */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct code enable 'Show inconsistent code' option in preferences */ public void a(android.content.Context r11, java.lang.String r12) { /* Method dump skipped, instructions count: 350 To view this dump change 'Code comments level' option to 'DEBUG' */ throw new UnsupportedOperationException("Method not decompiled: com.igaworks.ssp.common.g.a(android.content.Context, java.lang.String):void"); } public void b(AdPopcornSSPSplashAd adPopcornSSPSplashAd) { try { ArrayList arrayList = this.f6588i; if (arrayList != null && arrayList.contains(adPopcornSSPSplashAd)) { this.f6588i.remove(adPopcornSSPSplashAd); } } catch (Exception unused) { } } public void a(Context context, String str, SdkInitListener sdkInitListener) { if (!this.f6596q || !k.b(str)) { a(context, str); b().a(context, str, new a(context, sdkInitListener)); } else if (sdkInitListener != null) { sdkInitListener.onInitializationFinished(); } } public void b(AdPopcornSSPInterstitialVideoAd adPopcornSSPInterstitialVideoAd) { try { ArrayList arrayList = this.f6590k; if (arrayList != null && arrayList.contains(adPopcornSSPInterstitialVideoAd)) { this.f6590k.remove(adPopcornSSPInterstitialVideoAd); } } catch (Exception unused) { } } public void a(AdPopcornSSPUserProperties adPopcornSSPUserProperties) { if (adPopcornSSPUserProperties != null) { try { this.f6599t = adPopcornSSPUserProperties; SharedPreferences.Editor edit = this.f6593n.getSharedPreferences("adpopcorn_parameter", 0).edit(); edit.putBoolean("adpopcorn_sdk_use_user_properties", true); int i10 = adPopcornSSPUserProperties.yearOfBirth; if (i10 > 0) { edit.putInt("adpopcorn_sdk_yob", i10); } int i11 = adPopcornSSPUserProperties.gender; if (i11 >= 0) { edit.putInt("adpopcorn_sdk_gender", i11); } String str = adPopcornSSPUserProperties.country; if (str != null) { edit.putString("adpopcorn_sdk_country", str); } String str2 = adPopcornSSPUserProperties.language; if (str2 != null) { edit.putString("adpopcorn_sdk_language", str2); } edit.apply(); } catch (Exception unused) { } } } public void b(AdPopcornSSPRewardVideoAd adPopcornSSPRewardVideoAd) { try { ArrayList arrayList = this.f6586g; if (arrayList != null && arrayList.contains(adPopcornSSPRewardVideoAd)) { this.f6586g.remove(adPopcornSSPRewardVideoAd); } } catch (Exception unused) { } } /* JADX INFO: Access modifiers changed from: private */ public void a(SdkInitListener sdkInitListener) { int i10 = this.f6597r + 1; this.f6597r = i10; if (i10 < 2 || sdkInitListener == null) { return; } sdkInitListener.onInitializationFinished(); } public boolean b(Context context) { return this.f6596q; } public void a(com.igaworks.ssp.common.o.c cVar) { if (this.f6581b == null) { this.f6581b = new ArrayList<>(); } ArrayList arrayList = this.f6581b; if (arrayList == null || arrayList.contains(cVar)) { return; } this.f6581b.add(cVar); } public boolean b(String str) { SharedPreferences sharedPreferences; String string; try { sharedPreferences = this.f6593n.getSharedPreferences("adpopcorn_parameter", 0); string = sharedPreferences.getString("adpopcorn_ssp_dfnid_match_adid", null); } catch (Exception unused) { } if (string != null && string.contentEquals(str)) { return true; } SharedPreferences.Editor edit = sharedPreferences.edit(); edit.putString("adpopcorn_ssp_dfnid_match_adid", null); edit.apply(); return false; } public void a(AdPopcornSSPBannerAd adPopcornSSPBannerAd) { try { if (this.f6584e == null) { this.f6584e = new ArrayList<>(); } ArrayList arrayList = this.f6584e; if (arrayList == null || arrayList.contains(adPopcornSSPBannerAd)) { return; } this.f6584e.add(adPopcornSSPBannerAd); } catch (Exception unused) { } } public void a(AdPopcornSSPCustomAd adPopcornSSPCustomAd) { try { if (this.f6591l == null) { this.f6591l = new ArrayList<>(); } ArrayList arrayList = this.f6591l; if (arrayList == null || arrayList.contains(adPopcornSSPCustomAd)) { return; } this.f6591l.add(adPopcornSSPCustomAd); } catch (Exception unused) { } } public void a(AdPopcornSSPReactNativeAd adPopcornSSPReactNativeAd) { try { if (this.f6592m == null) { this.f6592m = new ArrayList<>(); } ArrayList arrayList = this.f6592m; if (arrayList == null || arrayList.contains(adPopcornSSPReactNativeAd)) { return; } this.f6592m.add(adPopcornSSPReactNativeAd); } catch (Exception unused) { } } public void a(OneStoreAd oneStoreAd) { try { if (this.f6589j == null) { this.f6589j = new ArrayList<>(); } ArrayList arrayList = this.f6589j; if (arrayList == null || arrayList.contains(oneStoreAd)) { return; } this.f6589j.add(oneStoreAd); } catch (Exception unused) { } } public void a(AdPopcornSSPInterstitialAd adPopcornSSPInterstitialAd) { try { if (this.f6585f == null) { this.f6585f = new ArrayList<>(); } ArrayList arrayList = this.f6585f; if (arrayList == null || arrayList.contains(adPopcornSSPInterstitialAd)) { return; } this.f6585f.add(adPopcornSSPInterstitialAd); } catch (Exception unused) { } } public void a(AdPopcornSSPNativeAd adPopcornSSPNativeAd) { try { if (this.f6587h == null) { this.f6587h = new ArrayList<>(); } ArrayList arrayList = this.f6587h; if (arrayList == null || arrayList.contains(adPopcornSSPNativeAd)) { return; } this.f6587h.add(adPopcornSSPNativeAd); } catch (Exception unused) { } } public void a(AdPopcornSSPSplashAd adPopcornSSPSplashAd) { try { if (this.f6588i == null) { this.f6588i = new ArrayList<>(); } ArrayList arrayList = this.f6588i; if (arrayList == null || arrayList.contains(adPopcornSSPSplashAd)) { return; } this.f6588i.add(adPopcornSSPSplashAd); } catch (Exception unused) { } } public void a(AdPopcornSSPInterstitialVideoAd adPopcornSSPInterstitialVideoAd) { try { if (this.f6590k == null) { this.f6590k = new ArrayList<>(); } ArrayList arrayList = this.f6590k; if (arrayList == null || arrayList.contains(adPopcornSSPInterstitialVideoAd)) { return; } this.f6590k.add(adPopcornSSPInterstitialVideoAd); } catch (Exception unused) { } } public void a(AdPopcornSSPRewardVideoAd adPopcornSSPRewardVideoAd) { try { if (this.f6586g == null) { this.f6586g = new ArrayList<>(); } ArrayList arrayList = this.f6586g; if (arrayList == null || arrayList.contains(adPopcornSSPRewardVideoAd)) { return; } this.f6586g.add(adPopcornSSPRewardVideoAd); } catch (Exception unused) { } } public void a(boolean z10) { try { com.igaworks.ssp.common.o.m.a.c(Thread.currentThread(), "context : " + this.f6593n + ", gdprConsentAvailable : " + z10); this.f6593n.getSharedPreferences("adpopcorn_parameter", 0).edit().putBoolean("ssp_gdpr_consent", z10).commit(); } catch (Exception e10) { e10.printStackTrace(); } this.f6594o = z10; } }