- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
64 lines
1.7 KiB
Java
64 lines
1.7 KiB
Java
package com.fyber.inneractive.sdk.web.remoteui;
|
|
|
|
import com.fyber.inneractive.sdk.util.IAlog;
|
|
import com.fyber.inneractive.sdk.web.h;
|
|
import java.util.HashMap;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class c extends h implements b, com.fyber.inneractive.sdk.player.ui.remote.a {
|
|
public b h;
|
|
public com.fyber.inneractive.sdk.player.ui.remote.a i;
|
|
public boolean j = false;
|
|
public final d k;
|
|
|
|
public c() {
|
|
d dVar = new d(this, this);
|
|
this.k = dVar;
|
|
setWebViewClient(dVar);
|
|
getSettings().setJavaScriptEnabled(true);
|
|
a();
|
|
setBackgroundColor(0);
|
|
}
|
|
|
|
public void setCommandHandler(com.fyber.inneractive.sdk.player.ui.remote.a aVar) {
|
|
this.i = aVar;
|
|
}
|
|
|
|
public void setResultFailureListener(b bVar) {
|
|
this.h = bVar;
|
|
}
|
|
|
|
public void setUiReady(boolean z) {
|
|
this.j = z;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.web.remoteui.b
|
|
public final void a(a aVar, String str, boolean z, HashMap hashMap) {
|
|
this.j = false;
|
|
b bVar = this.h;
|
|
if (bVar != null) {
|
|
bVar.a(aVar, str, z, hashMap);
|
|
}
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.web.h, android.webkit.WebView
|
|
public final void destroy() {
|
|
this.h = null;
|
|
this.i = null;
|
|
d dVar = this.k;
|
|
dVar.getClass();
|
|
IAlog.a("%s: destroy()", "RemoteUiWebViewClient");
|
|
dVar.b = null;
|
|
dVar.a = null;
|
|
super.destroy();
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.player.ui.remote.a
|
|
public final void a(String str, HashMap hashMap) {
|
|
com.fyber.inneractive.sdk.player.ui.remote.a aVar = this.i;
|
|
if (aVar != null) {
|
|
aVar.a(str, hashMap);
|
|
}
|
|
}
|
|
}
|