导航菜单

页面标题

页面副标题

Atlys v4.8.7 - h.java 源代码

正在查看: Atlys v4.8.7 应用的 h.java JAVA 源代码文件

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


package P6;

import android.content.Intent;
import android.net.Uri;
import android.webkit.WebView;
import android.widget.ProgressBar;
import com.atlys.android.bolo.BoloWebviewFragment;
import com.cashfree.pg.core.hidden.utils.Constants;
import com.google.android.gms.tasks.OnCompleteListener;
import com.google.android.gms.tasks.Task;
import java.util.concurrent.ScheduledFuture;
import yf.x;
import yf.z;

public final class h implements OnCompleteListener {

    public final int f18770a;

    public final Object f18771b;

    public h(Object obj, int i10) {
        this.f18770a = i10;
        this.f18771b = obj;
    }

    @Override
    public final void onComplete(Task it) {
        switch (this.f18770a) {
            case 0:
                BoloWebviewFragment this$0 = (BoloWebviewFragment) this.f18771b;
                kotlin.jvm.internal.l.h(this$0, "this$0");
                kotlin.jvm.internal.l.h(it, "it");
                if (it.isSuccessful()) {
                    ne.j jVar = (ne.j) it.getResult();
                    String str = jVar != null ? jVar.f56562a : null;
                    String str2 = this$0.f36853s;
                    String str3 = this$0.f36852r;
                    if (str3 == null) {
                        kotlin.jvm.internal.l.o("userId");
                        throw null;
                    }
                    Uri.Builder buildUpon = Uri.parse("https://bolo.atlys.com").buildUpon();
                    buildUpon.appendQueryParameter("uid", str3);
                    if (str2 != null) {
                        buildUpon.appendQueryParameter("applicationId", str2);
                    }
                    buildUpon.appendQueryParameter("token", str);
                    buildUpon.appendQueryParameter(Constants.CONFIG_FEATURES, "chat_supported,fc_residence,fc_profile,fc_cadence,invoices,link_open_support");
                    String uri = buildUpon.build().toString();
                    kotlin.jvm.internal.l.g(uri, "toString(...)");
                    WebView webView = this$0.f36850p;
                    if (webView == null) {
                        kotlin.jvm.internal.l.o("webView");
                        throw null;
                    }
                    webView.loadUrl(uri);
                }
                ProgressBar progressBar = this$0.f36851q;
                if (progressBar != null) {
                    progressBar.setVisibility(8);
                    return;
                } else {
                    kotlin.jvm.internal.l.o("progressBar");
                    throw null;
                }
            case 1:
                x.a((Intent) this.f18771b);
                return;
            case 2:
                ((z) this.f18771b).f68409b.trySetResult(null);
                return;
            default:
                ((ScheduledFuture) this.f18771b).cancel(false);
                return;
        }
    }
}