正在查看: Cantique de Louanges v12 应用的 FullScreenWebViewDisplay.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Cantique de Louanges v12 应用的 FullScreenWebViewDisplay.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.unity3d.ads.adplayer;
import android.os.Bundle;
import android.view.KeyEvent;
import android.webkit.WebView;
import androidx.activity.ComponentActivity;
import androidx.lifecycle.r;
import ha.l0;
import kotlin.Metadata;
import la.g;
import nd.i;
import nd.m0;
import nd.n0;
import org.json.o2;
import qd.d;
import qd.e;
import qd.f;
import qd.p;
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0005\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0015\u0010\u0016J\b\u0010\u0003\u001a\u00020\u0002H\u0002J\u0010\u0010\u0006\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004H\u0002J\u0012\u0010\t\u001a\u00020\u00022\b\u0010\b\u001a\u0004\u0018\u00010\u0007H\u0014J\u001a\u0010\u000f\u001a\u00020\u000e2\u0006\u0010\u000b\u001a\u00020\n2\b\u0010\r\u001a\u0004\u0018\u00010\fH\u0016J\b\u0010\u0010\u001a\u00020\u0002H\u0014J\b\u0010\u0011\u001a\u00020\u0002H\u0014R\u0016\u0010\u0013\u001a\u00020\u00128\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0013\u0010\u0014¨\u0006\u0017"}, d2 = {"Lcom/unity3d/ads/adplayer/FullScreenWebViewDisplay;", "Landroidx/activity/ComponentActivity;", "Lha/l0;", "listenToAdPlayerEvents", "Landroid/webkit/WebView;", "webView", "loadWebView", "Landroid/os/Bundle;", "savedInstanceState", "onCreate", "", "keyCode", "Landroid/view/KeyEvent;", "event", "", "onKeyDown", o2.h.u0, o2.h.t0, "", "opportunityId", "Ljava/lang/String;", "<init>", "()V", "unity-ads_release"}, k = 1, mv = {1, 8, 0})
public final class FullScreenWebViewDisplay extends ComponentActivity {
private String opportunityId = "";
private final void listenToAdPlayerEvents() {
final p displayMessages = AndroidFullscreenWebViewAdPlayer.INSTANCE.getDisplayMessages();
f.o(f.q(new d() {
@Metadata(d1 = {"\u0000\f\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0006\u001a\u00020\u0003\"\u0004\b\u0000\u0010\u0000\"\u0004\b\u0001\u0010\u00012\u0006\u0010\u0002\u001a\u00028\u0000H\u008a@¢\u0006\u0004\b\u0004\u0010\u0005"}, d2 = {"T", "R", o2.h.X, "Lha/l0;", "emit", "(Ljava/lang/Object;Lla/d;)Ljava/lang/Object;", "<anonymous>"}, k = 3, mv = {1, 8, 0})
public static final class AnonymousClass2<T> implements e {
final e $this_unsafeFlow;
final FullScreenWebViewDisplay this$0;
@kotlin.coroutines.jvm.internal.f(c = "com.unity3d.ads.adplayer.FullScreenWebViewDisplay$listenToAdPlayerEvents$$inlined$filter$1$2", f = "FullScreenWebViewDisplay.kt", l = {223}, m = "emit")
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class AnonymousClass1 extends kotlin.coroutines.jvm.internal.d {
Object L$0;
Object L$1;
int label;
Object result;
public AnonymousClass1(la.d dVar) {
super(dVar);
}
@Override
public final Object invokeSuspend(Object obj) {
this.result = obj;
this.label |= Integer.MIN_VALUE;
return AnonymousClass2.this.emit(null, this);
}
}
public AnonymousClass2(e eVar, FullScreenWebViewDisplay fullScreenWebViewDisplay) {
this.$this_unsafeFlow = eVar;
this.this$0 = fullScreenWebViewDisplay;
}
public final java.lang.Object emit(java.lang.Object r6, la.d r7) {
throw new UnsupportedOperationException("Method not decompiled: com.unity3d.ads.adplayer.FullScreenWebViewDisplay$listenToAdPlayerEvents$$inlined$filter$1.AnonymousClass2.emit(java.lang.Object, la.d):java.lang.Object");
}
}
public Object collect(e eVar, la.d dVar) {
Object e;
Object collect = displayMessages.collect(new AnonymousClass2(eVar, this), dVar);
e = ma.d.e();
return collect == e ? collect : l0.a;
}
}, new FullScreenWebViewDisplay$listenToAdPlayerEvents$2(this, null)), r.a(this));
}
public final void loadWebView(WebView webView) {
i.d(m0.b(), (g) null, (n0) null, new FullScreenWebViewDisplay$loadWebView$1(this, webView, null), 3, (Object) null);
i.d(r.a(this), (g) null, (n0) null, new FullScreenWebViewDisplay$loadWebView$2(this, null), 3, (Object) null);
}
protected void onCreate(Bundle bundle) {
super.onCreate(bundle);
String stringExtra = getIntent().getStringExtra("opportunityId");
if (stringExtra == null) {
setResult(0);
finish();
i.d(r.a(this), (g) null, (n0) null, new FullScreenWebViewDisplay$onCreate$1$1(this, null), 3, (Object) null);
} else {
this.opportunityId = stringExtra;
listenToAdPlayerEvents();
i.d(r.a(this), (g) null, (n0) null, new FullScreenWebViewDisplay$onCreate$2(this, null), 3, (Object) null);
}
}
public boolean onKeyDown(int keyCode, KeyEvent event) {
return keyCode == 4;
}
protected void onPause() {
super/*android.app.Activity*/.onPause();
i.d(r.a(this), (g) null, (n0) null, new FullScreenWebViewDisplay$onPause$1(this, null), 3, (Object) null);
}
protected void onResume() {
super/*android.app.Activity*/.onResume();
i.d(r.a(this), (g) null, (n0) null, new FullScreenWebViewDisplay$onResume$1(this, null), 3, (Object) null);
}
}