导航菜单

页面标题

页面副标题

CreditNow v1.0.2 - FaceGatewayActivity.java 源代码

正在查看: CreditNow v1.0.2 应用的 FaceGatewayActivity.java JAVA 源代码文件

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


package com.cat.facelibrary.view;

import android.annotation.SuppressLint;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import com.aa.commonuilibrary.base.activity.BaseActivity;
import com.cat.facelibrary.databinding.ActivityFaceGatewayBinding;
import com.cat.facelibrary.viewmodel.FaceGatewayViewModel;
import defpackage.h40;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;

@Metadata
public final class FaceGatewayActivity extends BaseActivity<FaceGatewayViewModel, ActivityFaceGatewayBinding> {
    public Integer D1;

    private final void q1() {
        if (this.D1 != null) {
            Intent intent = new Intent(this, (Class<?>) FaceAuthenticationActivity.class);
            Integer num = this.D1;
            Intrinsics.c(num);
            startActivityForResult(intent, num.intValue());
        }
    }

    @Override
    @SuppressLint({"SourceLockedOrientationActivity"})
    public void V0(Bundle bundle) {
        h40.a.e(this);
        p1();
        q1();
    }

    @Override
    public boolean W0() {
        return true;
    }

    @Override
    public void onActivityResult(int i, int i2, Intent intent) {
        super.onActivityResult(i, i2, intent);
        Integer num = this.D1;
        if (num != null && i == num.intValue()) {
            setResult(i2, intent);
            finish();
        }
    }

    public final void p1() {
        String str;
        Bundle extras = getIntent().getExtras();
        if (extras == null || (str = extras.getString("catRequestCode")) == null) {
            str = "";
        }
        if (TextUtils.isDigitsOnly(str)) {
            this.D1 = Integer.valueOf(Integer.parseInt(str));
        }
    }
}