导航菜单

页面标题

页面副标题

Oolka v2.4.42 - u4.java 源代码

正在查看: Oolka v2.4.42 应用的 u4.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package one.upswing.sdk;

import android.webkit.WebView;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt__StringsJVMKt;

public final class u4 extends androidx.activity.z {
    public final p2 a;

    public u4(p2 p2Var) {
        super(true);
        this.a = p2Var;
    }

    public final void handleOnBackPressed() {
        String str;
        p2 p2Var = this.a;
        WebView webView = p2Var.l;
        if (webView == null || (str = webView.getUrl()) == null) {
            str = p2Var.d;
        }
        ArrayList arrayList = d5.a;
        b0 b0Var = null;
        if (!(arrayList instanceof Collection) || !arrayList.isEmpty()) {
            Iterator it = arrayList.iterator();
            while (it.hasNext()) {
                if (StringsKt__StringsJVMKt.startsWith$default(str, (String) it.next(), false, 2, null)) {
                    break;
                }
            }
        }
        if (!StringsKt__StringsJVMKt.startsWith(str, "https://webapp.upswing.one", true)) {
            p2 p2Var2 = this.a;
            String str2 = p2Var2.e;
            if (!y5.a(p2Var2.requireContext())) {
                p2 p2Var3 = this.a;
                p2Var3.r("No Internet, Please check your connection/wifi", "Retry again", new r4(p2Var3));
                return;
            }
            p2 p2Var4 = this.a;
            WebView webView2 = p2Var4.l;
            if (webView2 != null) {
                webView2.loadUrl(p2Var4.d + "/cancel-redirect");
                return;
            }
            return;
        }
        p2 p2Var5 = this.a;
        String str3 = p2Var5.e;
        b0 b0Var2 = p2Var5.j;
        if (b0Var2 == null) {
            Intrinsics.throwUninitializedPropertyAccessException("publishEventHandler");
        } else {
            b0Var = b0Var2;
        }
        ((i0) ((g2) b0Var.d.getValue())).b(k0.p, "{}");
    }
}