导航菜单

页面标题

页面副标题

EfectivoYa v2.3 - ActivitySplash.java 源代码

正在查看: EfectivoYa v2.3 应用的 ActivitySplash.java JAVA 源代码文件

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


package com.cnhz.android.main.view.activity;

import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.util.Log;
import androidx.appcompat.app.ActionBar;
import com.cnhz.android.main.base.BasePageActivity;
import com.cnhz.android.main.databinding.PageSplashBinding;
import com.cnhz.android.main.otherNet.view.ActivityOthers;
import com.cnhz.android.main.view.activity.ActivitySplash;
import com.mxff.ffxxmm.activity.FFLoginActivity;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Ref;
import p0.b;
import v0.c;

@Metadata(d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\n\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0012\u0010\u0013J\u0012\u0010\u0005\u001a\u00020\u00042\b\u0010\u0003\u001a\u0004\u0018\u00010\u0002H\u0014J\b\u0010\u0006\u001a\u00020\u0004H\u0016J\b\u0010\u0007\u001a\u00020\u0004H\u0016J\b\u0010\b\u001a\u00020\u0004H\u0016J\b\u0010\t\u001a\u00020\u0004H\u0014R$\u0010\u0011\u001a\u0004\u0018\u00010\n8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u000b\u0010\f\u001a\u0004\b\r\u0010\u000e\"\u0004\b\u000f\u0010\u0010¨\u0006\u0014"}, d2 = {"Lcom/cnhz/android/main/view/activity/ActivitySplash;", "Lcom/cnhz/android/main/base/BasePageActivity;", "Landroid/os/Bundle;", "savedInstanceState", "", "onCreate", "o", "m", "n", "onDestroy", "Landroid/os/Handler;", "i", "Landroid/os/Handler;", "getMHandler", "()Landroid/os/Handler;", "setMHandler", "(Landroid/os/Handler;)V", "mHandler", "<init>", "()V", "V2.3-20240823-003002-Production_release"}, k = 1, mv = {1, 8, 0})
public final class ActivitySplash extends BasePageActivity {

    private Handler mHandler;

    public static final void r(Ref.BooleanRef booleanRef, ActivitySplash activitySplash) {
        Intrinsics.checkNotNullParameter(booleanRef, "$showPrivacyProtocol");
        Intrinsics.checkNotNullParameter(activitySplash, "this$0");
        if (booleanRef.element) {
            activitySplash.startActivity(new Intent(activitySplash, (Class<?>) FFLoginActivity.class));
        } else {
            Intent intent = new Intent(activitySplash, (Class<?>) ActivityOthers.class);
            intent.putExtra("StartFragmentType", 5);
            intent.putExtra("ProtocolType", 1);
            activitySplash.startActivity(intent);
        }
        activitySplash.finish();
    }

    @Override
    public void m() {
        Log.d("SlashPage", "  initPresenter");
    }

    @Override
    public void n() {
        ActionBar supportActionBar = getSupportActionBar();
        if (supportActionBar != null) {
            supportActionBar.hide();
        }
        Log.d("SlashPage", "  initTitleBar");
    }

    @Override
    public void o() {
        PageSplashBinding inflate = PageSplashBinding.inflate(getLayoutInflater());
        Intrinsics.checkNotNullExpressionValue(inflate, "inflate(layoutInflater)");
        p(inflate);
        setContentView(l().getRoot());
        final Ref.BooleanRef booleanRef = new Ref.BooleanRef();
        Object a2 = c.a(this, "spkey_show_privacy_protocol", Boolean.FALSE);
        Intrinsics.d(a2, "null cannot be cast to non-null type kotlin.Boolean");
        booleanRef.element = ((Boolean) a2).booleanValue();
        Handler handler = new Handler(Looper.getMainLooper());
        this.mHandler = handler;
        handler.postDelayed(new Runnable() {
            @Override
            public final void run() {
                ActivitySplash.r(booleanRef, this);
            }
        }, 1000L);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        b.f2612a.w("acq01_app_start", "", 0L);
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        Log.d("SlashPage", "  onDestroy");
        this.mHandler = null;
    }
}