导航菜单

页面标题

页面副标题

Credmex v3.12.2 - AddressContactInfoActivity.java 源代码

正在查看: Credmex v3.12.2 应用的 AddressContactInfoActivity.java JAVA 源代码文件

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


package com.credmex.authentication.activity;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.Dialog;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Pair;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import butterknife.BindView;
import butterknife.OnClick;
import com.credmex.AuthUtils;
import com.credmex.authentication.addresscontact.ContactSelectComponent;
import com.credmex.authentication.helper.AutoJumpHelper;
import com.credmex.authentication.helper.QuitAuthHelper;
import com.credmex.commom.CommonActivity;
import com.credmex.models.AppInfo;
import com.credmex.models.ContactInfoRequest;
import com.credmex.models.DxFilterInfo;
import com.credmex.models.FullContactInfoV2;
import com.credmex.models.ImmediateContactBean;
import com.credmex.models.response.BooleanResponse;
import com.credmex.models.response.RelationShipResponse;
import com.credmex.net.CredMexBaseResult;
import com.credmex.net.CredMexObserver;
import com.credmex.net.IApiRoutes;
import com.credmex.track.ThirdPartTrackEvents;
import com.credmex.track.ThirdPartTrackLib;
import com.credmex.track.TrackEventParamsConfigurator;
import com.credmex.utils.AppUtil;
import com.credmex.utils.PhoneDxUtils;
import com.credmex.utils.PhoneUtil;
import com.credmex.utils.YqdUtils;
import com.credmex.widght.InterceptTouchEventLinearLayout;
import com.credmex.widght.dialog.CommonDialog;
import com.credmex.widght.dialog.DialogButtonListener;
import com.open.mx.ui.base.BaseComponent;
import com.open.mx.ui.base.BaseComponentPresenter;
import com.open.mx.ui.components.EditEmailComponent;
import com.open.mx.ui.components.ItemPickComponent;
import com.open.mx.ui.event.ComponentEvent;
import com.open.mx.ui.event.ComponentEventCenter;
import com.open.mx.ui.model.LabelBean;
import com.open.mx.ui.presenter.DataFetcher;
import com.open.mx.ui.presenter.pickhold.SinglePickHolder;
import com.open.mx.ui.views.button.PrimaryButton;
import com.open.mxbaselib.sentrybusiness.ISentryBusinessEventAutoFinish;
import com.veda.android.bananalibrary.infrastructure.BaseActivity;
import com.veda.supertoolkit.customtools.CollectionUtils;
import com.veda.supertoolkit.customtools.ZipUtils;
import com.veda.supertoolkit.lifecycle.LifecycleEvent;
import com.veda.supertoolkit.permissiontools.permission.PermissionCallBack;
import com.veda.supertoolkit.permissiontools.permission.PermissionHelper;
import com.veda.supertoolkit.permissiontools.permission.PermissionResult;
import com.veda.supertoolkit.rxjavatools.RxUtil;
import com.veda.supertoolkit.widgets.BaseUtils;
import io.reactivex.Flowable;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.disposables.Disposable;
import io.reactivex.functions.Consumer;
import io.reactivex.processors.BehaviorProcessor;
import io.sentry.ITransaction;
import io.sentry.Sentry;
import io.sentry.SpanStatus;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public class AddressContactInfoActivity extends AuthHandleAutoJumpActivity implements ISentryBusinessEventAutoFinish {
    private RelationShipResponse.RelationBean H;
    private AutoJumpHelper S;
    private AutoJumpHelper T;
    private AutoJumpHelper U;
    private AutoJumpHelper V;
    private AutoJumpHelper W;
    private BaseComponentPresenter<CommonActivity> X;
    private boolean a0;
    private boolean b0;

    @BindView(2131361937)
    PrimaryButton btnConfirm;
    private Disposable c0;

    @BindView(2131362166)
    EditEmailComponent<CommonActivity> emailComponent;

    @BindView(2131362198)
    ContactSelectComponent firstContactComponent;

    @BindView(2131362199)
    ItemPickComponent<CommonActivity> firstContactRelationshipComponent;

    @BindView(2131362491)
    InterceptTouchEventLinearLayout interceptTouchEventLinearLayout;

    @BindView(2131362445)
    LinearLayout llAuthTip;

    @BindView(2131362446)
    LinearLayout llAuthTipAddress;

    @BindView(2131362440)
    LinearLayout llContent;

    @BindView(2131362810)
    ContactSelectComponent secondContactComponent;

    @BindView(2131362811)
    ItemPickComponent<CommonActivity> secondContactRelationshipComponent;

    @BindView(2131362983)
    TextView tvAuthTip;

    @BindView(2131362984)
    TextView tvAuthTipAddress;
    private List<AppInfo> I = null;
    private ArrayList<TextView> J = new ArrayList<>();
    private int K = 0;
    private boolean R = false;
    private BehaviorProcessor<Boolean> Y = BehaviorProcessor.s0();
    private BehaviorProcessor<Boolean> Z = BehaviorProcessor.s0();

    private void L0() {
        this.J.add(this.firstContactRelationshipComponent.l0());
        this.J.add(this.secondContactRelationshipComponent.l0());
    }

    private boolean M0() {
        if (this.firstContactComponent.k() && this.secondContactComponent.k()) {
            return YqdUtils.e(this.J);
        }
        return false;
    }

    private void N0() {
        if (this.b0) {
            return;
        }
        Disposable d = PhoneUtil.d(this, new PhoneUtil.CallBack() {
            @Override
            public final void onResult(Object obj) {
                AddressContactInfoActivity.this.Q0((List) obj);
            }
        });
        this.b0 = true;
        onSubscribe(d);
    }

    private void O0() {
        this.firstContactRelationshipComponent.setPresenter(this.X);
        this.firstContactRelationshipComponent.setTrackSource("R.id.tv_first_relation");
        this.firstContactRelationshipComponent.setPickHolder(new SinglePickHolder(getString(2131821171), "R.id.tv_first_relation"));
        this.firstContactRelationshipComponent.setDataFetcher(new DataFetcher() {
            public final void a(ItemPickComponent itemPickComponent, DataFetcher.FetchCallBack fetchCallBack) {
                AddressContactInfoActivity.this.R0(itemPickComponent, fetchCallBack);
            }
        });
        this.firstContactRelationshipComponent.c(new BaseComponent.ComponentDoneListener() {
            public final void a(Object obj) {
                AddressContactInfoActivity.this.S0((List) obj);
            }
        });
        this.firstContactComponent.setPresenter(this.X);
        this.firstContactComponent.setTrackSource("R.id.tv_first_contact");
        this.firstContactComponent.c(new BaseComponent.ComponentDoneListener() {
            public final void a(Object obj) {
                AddressContactInfoActivity.this.T0((FullContactInfoV2) obj);
            }
        });
    }

    private void P0() {
        this.secondContactRelationshipComponent.setPresenter(this.X);
        this.secondContactRelationshipComponent.setTrackSource("R.id.tv_second_relation");
        this.secondContactRelationshipComponent.setPickHolder(new SinglePickHolder(getString(2131821171), "R.id.tv_second_relation"));
        this.secondContactRelationshipComponent.setDataFetcher(new DataFetcher() {
            public final void a(ItemPickComponent itemPickComponent, DataFetcher.FetchCallBack fetchCallBack) {
                AddressContactInfoActivity.this.U0(itemPickComponent, fetchCallBack);
            }
        });
        this.secondContactRelationshipComponent.c(new BaseComponent.ComponentDoneListener() {
            public final void a(Object obj) {
                AddressContactInfoActivity.this.V0((List) obj);
            }
        });
        this.secondContactComponent.setPresenter(this.X);
        this.secondContactComponent.setTrackSource("R.id.tv_second_contact");
        this.secondContactComponent.c(new BaseComponent.ComponentDoneListener() {
            public final void a(Object obj) {
                AddressContactInfoActivity.this.W0((FullContactInfoV2) obj);
            }
        });
    }

    public void Q0(List list) {
        this.I = list;
        this.Z.onNext(Boolean.TRUE);
    }

    public void R0(ItemPickComponent itemPickComponent, DataFetcher.FetchCallBack fetchCallBack) {
        RelationShipResponse.RelationBean relationBean = this.H;
        if (relationBean == null || CollectionUtils.a(relationBean.first)) {
            m1(-1, fetchCallBack);
        } else {
            fetchCallBack.onSuccess(this.H.first);
        }
    }

    public void S0(List list) {
        this.S.d();
    }

    public void T0(FullContactInfoV2 fullContactInfoV2) {
        this.T.d();
    }

    public void U0(ItemPickComponent itemPickComponent, DataFetcher.FetchCallBack fetchCallBack) {
        RelationShipResponse.RelationBean relationBean = this.H;
        if (relationBean == null || CollectionUtils.a(relationBean.second)) {
            m1(-2, fetchCallBack);
        } else {
            fetchCallBack.onSuccess(this.H.second);
        }
    }

    public void V0(List list) {
        this.U.d();
    }

    public void W0(FullContactInfoV2 fullContactInfoV2) {
        this.V.d();
    }

    public void X0(ComponentEvent componentEvent) throws Exception {
        this.btnConfirm.setEnabled(M0());
    }

    public void Y0(Dialog dialog) {
        AppUtil.e(this);
        dialog.dismiss();
    }

    public void Z0(Dialog dialog) {
        this.R = true;
        l1();
        dialog.dismiss();
    }

    public void a1(Dialog dialog) {
        dialog.dismiss();
        i1();
    }

    public void b1(Pair pair) throws Exception {
        o1();
    }

    public void c1(PermissionResult permissionResult) {
        if (permissionResult.isAllPermissionGranted()) {
            onDxPermissionGranted();
        } else {
            i1();
        }
    }

    public static void d1(Map map) {
        map.put(ThirdPartTrackEvents.UserAuth.Keys.POSITION, "address_dx_gson");
        map.put(ThirdPartTrackEvents.UserAuth.Keys.DATA_TYPE, "sms");
    }

    public static void e1(Map map) {
        map.put(ThirdPartTrackEvents.UserAuth.Keys.POSITION, "address_dx_zip");
        map.put(ThirdPartTrackEvents.UserAuth.Keys.DATA_TYPE, "sms");
    }

    public static void f1(Map map) {
        map.put(ThirdPartTrackEvents.UserAuth.Keys.POSITION, "address_gson");
        map.put(ThirdPartTrackEvents.UserAuth.Keys.DATA_TYPE, "address");
    }

    public static void g1(Map map) {
        map.put(ThirdPartTrackEvents.UserAuth.Keys.POSITION, "address_zip");
        map.put(ThirdPartTrackEvents.UserAuth.Keys.DATA_TYPE, "address");
    }

    public void h1() {
        this.authUtil.t(this, new AuthUtils.DefaultAuthCallBack(this));
    }

    private void i1() {
        if (this.authUtil.M()) {
            CommonDialog.CommonDialogBuilder.c(this).q("dialog_address_contact_info_sms_go_setting").m(2131820794, new DialogButtonListener() {
                @Override
                public final void a(Dialog dialog) {
                    AddressContactInfoActivity.this.Y0(dialog);
                }
            }).d(1).i(2131820581).a().show();
            return;
        }
        this.Y.onNext(Boolean.TRUE);
        k1();
        N0();
    }

    private void j1() {
        if (!this.firstContactRelationshipComponent.k()) {
            this.S.run();
            return;
        }
        if (!this.firstContactComponent.k()) {
            this.T.run();
            return;
        }
        if (!this.secondContactRelationshipComponent.k()) {
            this.U.run();
            return;
        }
        if (!this.secondContactComponent.k()) {
            this.V.run();
        } else if (!this.userSession.f().isNeedToShowPermissionDescDialog || this.R) {
            l1();
        } else {
            CommonDialog.CommonDialogBuilder.c(this).q("applist_sms_permission_desc_dialog").o(2131820597).i(2131820596).d(1).f(2).m(2131820585, new DialogButtonListener() {
                @Override
                public final void a(Dialog dialog) {
                    AddressContactInfoActivity.this.Z0(dialog);
                }
            }).k(2131821321, new DialogButtonListener() {
                @Override
                public final void a(Dialog dialog) {
                    AddressContactInfoActivity.this.a1(dialog);
                }
            }).a().show();
        }
    }

    private void k1() {
        showLoadingDialog();
        RxUtil.b(this.c0);
        Disposable V = Flowable.j(this.Y, this.Z, new o()).V(new Consumer() {
            public final void accept(Object obj) {
                AddressContactInfoActivity.this.b1((Pair) obj);
            }
        });
        this.c0 = V;
        onSubscribe(V);
    }

    private void l1() {
        this.permissionHelper.requestPermission("AddressContactInfoActivity", this, new PermissionCallBack() {
            public final void onResult(PermissionResult permissionResult) {
                AddressContactInfoActivity.this.c1(permissionResult);
            }
        }, new String[]{"android.permission.READ_SMS"});
    }

    private void m1(final int i2, final DataFetcher.FetchCallBack<List<LabelBean>> fetchCallBack) {
        showLoadingDialog();
        ((IApiRoutes) this.apiHelper.a()).F().a(new CredMexObserver<RelationShipResponse>(this) {
            @Override
            public void onError(Throwable th, RelationShipResponse relationShipResponse) {
                super.onError(th, (Throwable) relationShipResponse);
                AddressContactInfoActivity.this.dismissLoadingDialog();
                AddressContactInfoActivity.this.reportFullyDisplayed();
                fetchCallBack.onError();
            }

            public void onSuccess(RelationShipResponse relationShipResponse) {
                AddressContactInfoActivity.this.dismissLoadingDialog();
                AddressContactInfoActivity.this.reportFullyDisplayed();
                AddressContactInfoActivity.this.H = relationShipResponse.body;
                int i3 = i2;
                if (i3 == -1) {
                    fetchCallBack.onSuccess(AddressContactInfoActivity.this.H.first);
                } else if (i3 == -2) {
                    fetchCallBack.onSuccess(AddressContactInfoActivity.this.H.second);
                }
            }
        });
    }

    public void n1(final DxFilterInfo dxFilterInfo) {
        if (dxFilterInfo == null) {
            return;
        }
        String t2 = ((BaseActivity) this).gson.t(dxFilterInfo.filteredDxList);
        if (TextUtils.isEmpty(t2)) {
            ThirdPartTrackLib.e(this, ThirdPartTrackEvents.UserAuth.REQUEST_NULL, new TrackEventParamsConfigurator() {
                @Override
                public final void a(Map map) {
                    AddressContactInfoActivity.d1(map);
                }
            });
        }
        String a = ZipUtils.a(t2);
        if (TextUtils.isEmpty(t2)) {
            ThirdPartTrackLib.e(this, ThirdPartTrackEvents.UserAuth.REQUEST_NULL, new TrackEventParamsConfigurator() {
                @Override
                public final void a(Map map) {
                    AddressContactInfoActivity.e1(map);
                }
            });
        }
        final ITransaction D = Sentry.D("uploadDx", "dx");
        D.a(ThirdPartTrackEvents.UserAuth.Keys.POSITION, "address");
        ((IApiRoutes) this.apiHelper.a()).N(a, dxFilterInfo.preFilterCount, "AddressContactInfoActivity", PermissionHelper.hasReadSmsPermission(this), dxFilterInfo.expressionVersion).t(AndroidSchedulers.a()).a(new CredMexObserver<CredMexBaseResult>(getCallBack()) {
            public void onSuccess(CredMexBaseResult credMexBaseResult) {
                ITransaction iTransaction = D;
                if (iTransaction != null) {
                    iTransaction.a("businessStatusCode", credMexBaseResult.status.code + "");
                    D.n(SpanStatus.OK);
                }
                AddressContactInfoActivity.this.Y.onNext(Boolean.TRUE);
            }

            protected boolean superShowErrorToast() {
                return false;
            }

            @Override
            public void onError(Throwable th, CredMexBaseResult credMexBaseResult) {
                super.onError(th, (Throwable) credMexBaseResult);
                ITransaction iTransaction = D;
                if (iTransaction != null) {
                    String str = "";
                    if (credMexBaseResult != null && credMexBaseResult.status != null) {
                        str = credMexBaseResult.status.code + "";
                    }
                    iTransaction.a("businessStatusCode", str);
                    D.n(SpanStatus.INTERNAL_ERROR);
                }
                AddressContactInfoActivity addressContactInfoActivity = AddressContactInfoActivity.this;
                int i2 = addressContactInfoActivity.K;
                addressContactInfoActivity.K = i2 + 1;
                if (i2 >= 2) {
                    AddressContactInfoActivity.this.Y.onNext(Boolean.TRUE);
                } else {
                    AddressContactInfoActivity.this.n1(dxFilterInfo);
                }
            }
        });
    }

    private void o1() {
        ContactInfoRequest contactInfoRequest = new ContactInfoRequest();
        contactInfoRequest.immediateContact = new ImmediateContactBean();
        FullContactInfoV2 fullContactInfoV2 = (FullContactInfoV2) this.firstContactComponent.getResult();
        ImmediateContactBean immediateContactBean = contactInfoRequest.immediateContact;
        immediateContactBean.name = fullContactInfoV2.name;
        immediateContactBean.mobilePhoneNo = fullContactInfoV2.mobilePhoneNo;
        immediateContactBean.relationship = this.firstContactRelationshipComponent.v0().value;
        contactInfoRequest.immediateContact.inputType = fullContactInfoV2.inputType;
        contactInfoRequest.secondImmediateContact = new ImmediateContactBean();
        FullContactInfoV2 fullContactInfoV22 = (FullContactInfoV2) this.secondContactComponent.getResult();
        ImmediateContactBean immediateContactBean2 = contactInfoRequest.secondImmediateContact;
        immediateContactBean2.name = fullContactInfoV22.name;
        immediateContactBean2.mobilePhoneNo = fullContactInfoV22.mobilePhoneNo;
        immediateContactBean2.relationship = this.secondContactRelationshipComponent.v0().value;
        contactInfoRequest.secondImmediateContact.inputType = fullContactInfoV22.inputType;
        contactInfoRequest.appInfoList = this.I;
        contactInfoRequest.email = this.emailComponent.getResult().trim();
        String t2 = ((BaseActivity) this).gson.t(contactInfoRequest);
        if (TextUtils.isEmpty(t2)) {
            ThirdPartTrackLib.e(this, ThirdPartTrackEvents.UserAuth.REQUEST_NULL, new TrackEventParamsConfigurator() {
                @Override
                public final void a(Map map) {
                    AddressContactInfoActivity.f1(map);
                }
            });
        }
        String a = ZipUtils.a(t2);
        if (TextUtils.isEmpty(t2)) {
            ThirdPartTrackLib.e(this, ThirdPartTrackEvents.UserAuth.REQUEST_NULL, new TrackEventParamsConfigurator() {
                @Override
                public final void a(Map map) {
                    AddressContactInfoActivity.g1(map);
                }
            });
        }
        ((IApiRoutes) this.apiHelper.a()).H0(a, "AddressContactInfoActivity").a(new CredMexObserver<BooleanResponse>(this) {
            @Override
            public void onError(Throwable th, BooleanResponse booleanResponse) {
                super.onError(th, (Throwable) booleanResponse);
                AddressContactInfoActivity.this.businessTransaction("UserAuthOrder").b(SpanStatus.INTERNAL_ERROR);
                AddressContactInfoActivity.this.dismissLoadingDialog();
            }

            public void onSuccess(BooleanResponse booleanResponse) {
                AddressContactInfoActivity.this.dismissLoadingDialog();
                if (booleanResponse.body) {
                    AddressContactInfoActivity.this.businessTransaction("UserAuthOrder").n(SpanStatus.OK);
                    AddressContactInfoActivity.this.h1();
                } else {
                    AddressContactInfoActivity.this.businessTransaction("UserAuthOrder").b(SpanStatus.INTERNAL_ERROR);
                    AddressContactInfoActivity.this.showErrorToast(2131820751);
                }
            }
        });
    }

    private void p1() {
        if (this.a0) {
            return;
        }
        Disposable asyncGetDxInfo2 = PhoneDxUtils.asyncGetDxInfo2(this, 1000, new PhoneUtil.CallBack() {
            @Override
            public final void onResult(Object obj) {
                AddressContactInfoActivity.this.n1((DxFilterInfo) obj);
            }
        });
        this.a0 = true;
        onSubscribe(asyncGetDxInfo2);
    }

    public static void startNoPermissionAddressLocationActivity(Activity activity) {
        activity.startActivity(new Intent(activity, (Class<?>) AddressContactInfoActivity.class));
    }

    @Override
    protected void G(@NonNull Bundle bundle) {
        super.G(bundle);
        this.firstContactComponent.j(bundle);
        this.secondContactComponent.j(bundle);
        this.firstContactRelationshipComponent.j(bundle);
        this.secondContactRelationshipComponent.j(bundle);
        this.emailComponent.j(bundle);
    }

    @Override
    @SuppressLint({"CheckResult"})
    protected void J() {
        super.J();
        this.X = new BaseComponentPresenter<>(this);
        duringActive(ComponentEventCenter.d().c(this)).W(new Consumer() {
            public final void accept(Object obj) {
                AddressContactInfoActivity.this.X0((ComponentEvent) obj);
            }
        }, new com.credmex.activity.x2());
        O0();
        P0();
        this.emailComponent.setPresenter(this.X);
        this.emailComponent.setTrackSource("R.id.et_email");
        this.emailComponent.J0().setInputType(32);
        this.emailComponent.setMaxLength(80);
        this.emailComponent.J0().setHint(2131821048);
    }

    @Override
    protected void K() {
        super.K();
        L0();
        this.llAuthTip.setVisibility(TextUtils.isEmpty(this.authUtil.y()) ? 8 : 0);
        this.tvAuthTip.setText(this.authUtil.y());
        this.llAuthTipAddress.setVisibility(TextUtils.isEmpty(this.authUtil.w()) ? 8 : 0);
        this.tvAuthTipAddress.setText(this.authUtil.w());
    }

    @Override
    protected void X(@NonNull Bundle bundle) {
        super.X(bundle);
        this.firstContactComponent.v(bundle);
        this.secondContactComponent.v(bundle);
        this.firstContactRelationshipComponent.v(bundle);
        this.secondContactRelationshipComponent.v(bundle);
        this.emailComponent.v(bundle);
    }

    @Override
    protected void e0() {
        this.S = new AutoJumpHelper(this) {
            @Override
            public boolean a() {
                return AddressContactInfoActivity.this.firstContactRelationshipComponent.k();
            }

            @Override
            public void g() {
                AddressContactInfoActivity.this.firstContactRelationshipComponent.b0();
            }
        };
        this.T = new AutoJumpHelper(this) {
            @Override
            public boolean a() {
                return AddressContactInfoActivity.this.firstContactComponent.k();
            }

            @Override
            public void g() {
                AddressContactInfoActivity.this.firstContactComponent.b0();
            }
        };
        this.U = new AutoJumpHelper(this) {
            @Override
            public boolean a() {
                return AddressContactInfoActivity.this.secondContactRelationshipComponent.k();
            }

            @Override
            public void g() {
                AddressContactInfoActivity.this.secondContactRelationshipComponent.b0();
            }
        };
        this.V = new AutoJumpHelper(this) {
            @Override
            public boolean a() {
                return AddressContactInfoActivity.this.secondContactComponent.k();
            }

            @Override
            public void g() {
                AddressContactInfoActivity.this.secondContactComponent.b0();
            }
        };
        this.W = new AutoJumpHelper(this) {
            @Override
            public boolean a() {
                return AddressContactInfoActivity.this.emailComponent.k();
            }

            @Override
            public void g() {
                AddressContactInfoActivity.this.emailComponent.b0();
            }
        };
        this.S.f(this.T);
        this.T.f(this.U);
        this.U.f(this.V);
        this.V.f(this.W);
    }

    @Override
    public View getContentView() {
        return this.llContent;
    }

    @Override
    public int getLayoutID() {
        return 2131558596;
    }

    @Override
    protected boolean i0() {
        return this.firstContactRelationshipComponent.l() && this.secondContactRelationshipComponent.l() && this.emailComponent.l() && this.firstContactComponent.l() && this.secondContactComponent.l();
    }

    @Override
    protected void j0() {
        AutoJumpHelper autoJumpHelper = this.S;
        if (autoJumpHelper == null) {
            return;
        }
        autoJumpHelper.run();
    }

    @Override
    protected void l0() {
        this.D.f();
    }

    @Override
    public void onBackPressed() {
        this.G = true;
        QuitAuthHelper.n(this.authUtil, (this.userSession.f().quitAuthSpecificDialogInfo == null || this.userSession.f().quitAuthSpecificDialogInfo.contactPage == null || !this.userSession.f().quitAuthSpecificDialogInfo.contactPage.show) ? this.userSession.f().quitAuthDialogInfo : this.userSession.f().quitAuthSpecificDialogInfo.contactPage, this);
    }

    @Override
    protected void onCreate(Bundle bundle) {
        businessTransaction("UserAuthOrder");
        super.onCreate(bundle);
    }

    public void onDxPermissionGranted() {
        k1();
        p1();
        N0();
    }

    @OnClick({2131361937})
    public void onViewClicked(View view) {
        if (BaseUtils.b()) {
            return;
        }
        ThirdPartTrackLib.d(this, ThirdPartTrackEvents.UserAuth.MEX_ADDRESS_BTN_NEXT);
        j1();
    }

    @Override
    @SuppressLint({"CheckResult"})
    public Disposable runOnCreated(@NonNull Runnable runnable) {
        return com.veda.supertoolkit.lifecycle.i.a(this, runnable);
    }

    @Override
    @SuppressLint({"CheckResult"})
    public Disposable runOnDestroy(@NonNull Runnable runnable) {
        return com.veda.supertoolkit.lifecycle.i.b(this, runnable);
    }

    @Override
    @SuppressLint({"CheckResult"})
    public Disposable runOnEvent(@NonNull LifecycleEvent lifecycleEvent, @Nullable Runnable runnable) {
        return com.veda.supertoolkit.lifecycle.i.c(this, lifecycleEvent, runnable);
    }
}