package com.ironsource; import android.app.Activity; import android.content.MutableContextWrapper; /* loaded from: classes2.dex */ public class y8 { MutableContextWrapper a; public Activity a() { return (Activity) this.a.getBaseContext(); } public synchronized void a(Activity activity) { try { if (this.a == null) { this.a = new MutableContextWrapper(activity); } this.a.setBaseContext(activity); } catch (Throwable th) { throw th; } } public synchronized void b() { this.a = null; } }