导航菜单

页面标题

页面副标题

MedEd v5.3.6 - MoEDebuggerActivity.java 源代码

正在查看: MedEd v5.3.6 应用的 MoEDebuggerActivity.java JAVA 源代码文件

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


package com.moengage.sdk.debugger;

import android.content.Context;
import android.content.res.Resources;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.ProgressBar;
import android.widget.TextView;
import android.widget.Toast;
import androidx.appcompat.widget.AppCompatButton;
import com.moengage.core.internal.model.logging.DebuggerLogConfig;
import com.moengage.sdk.debugger.MoEDebuggerActivity;
import com.moengage.sdk.debugger.internal.model.DebuggerInfo;
import com.penpencil.physicswallah.feature.player.ui.actions.VideoPdfsFragment;
import com.penpencil.player.models.BatchCredential;
import com.penpencil.player_engagement.live_chat.ui.fragment.LiveChatFragment;
import defpackage.C0620zq2;
import defpackage.F30;
import defpackage.Fq2;
import defpackage.OE0;
import defpackage.P30;
import defpackage.Q30;
import defpackage.To1$a;
import defpackage.Tq2;
import defpackage.Up2;
import defpackage.Xn3$d;
import defpackage.h1;
import defpackage.vB1;
import in.juspay.hypersdk.core.PaymentConstants;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.HashMap;
import java.util.Locale;
import java.util.TimeZone;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;

@Metadata
public final class MoEDebuggerActivity extends ag {
    public static final int O0 = 0;
    public LinearLayout A0;
    public TextView B0;
    public TextView C0;
    public TextView D0;
    public AppCompatButton E0;
    public AppCompatButton F0;
    public ProgressBar G;
    public AppCompatButton G0;
    public TextView H0;
    public TextView I;
    public TextView I0;
    public TextView J0;
    public TextView K0;
    public iH2 M0;
    public P30 N0;
    public final String F = "SDKDebugger_2.0.0_MoEDebuggerActivity";
    public int L0 = 5;

    public static final class a extends Ob1 implements Function0<String> {
        public a() {
            super(0);
        }

        public final Object invoke() {
            return qe.a(new StringBuilder(), MoEDebuggerActivity.this.F, " initStaticViewData(): ");
        }
    }

    public static final class b extends Ob1 implements Function0<String> {
        public b() {
            super(0);
        }

        public final Object invoke() {
            return qe.a(new StringBuilder(), MoEDebuggerActivity.this.F, " initUIElements(): ");
        }
    }

    public static final class c extends Ob1 implements Function0<String> {
        public c() {
            super(0);
        }

        public final Object invoke() {
            return qe.a(new StringBuilder(), MoEDebuggerActivity.this.F, " initViewModel(): ");
        }
    }

    public static final class d extends Ob1 implements Function1<F30, Unit> {
        public d() {
            super(1);
        }

        public final Object invoke(Object obj) {
            F30 f30 = (F30) obj;
            Intrinsics.d(f30);
            int i = MoEDebuggerActivity.O0;
            MoEDebuggerActivity moEDebuggerActivity = MoEDebuggerActivity.this;
            moEDebuggerActivity.getClass();
            int ordinal = f30.ordinal();
            if (ordinal == 0) {
                ProgressBar progressBar = moEDebuggerActivity.G;
                if (progressBar == null) {
                    Intrinsics.n("progressBarView");
                    throw null;
                }
                progressBar.setVisibility(0);
                TextView textView = moEDebuggerActivity.I;
                if (textView == null) {
                    Intrinsics.n("errorMessageView");
                    throw null;
                }
                textView.setVisibility(8);
                LinearLayout linearLayout = moEDebuggerActivity.A0;
                if (linearLayout == null) {
                    Intrinsics.n("infoSectionView");
                    throw null;
                }
                linearLayout.setVisibility(8);
            } else if (ordinal != 3) {
                ProgressBar progressBar2 = moEDebuggerActivity.G;
                if (progressBar2 == null) {
                    Intrinsics.n("progressBarView");
                    throw null;
                }
                progressBar2.setVisibility(8);
                TextView textView2 = moEDebuggerActivity.I;
                if (textView2 == null) {
                    Intrinsics.n("errorMessageView");
                    throw null;
                }
                textView2.setVisibility(8);
                LinearLayout linearLayout2 = moEDebuggerActivity.A0;
                if (linearLayout2 == null) {
                    Intrinsics.n("infoSectionView");
                    throw null;
                }
                linearLayout2.setVisibility(0);
                if (f30 == F30.b) {
                    AppCompatButton appCompatButton = moEDebuggerActivity.G0;
                    if (appCompatButton == null) {
                        Intrinsics.n("startDebuggerView");
                        throw null;
                    }
                    appCompatButton.setVisibility(8);
                    AppCompatButton appCompatButton2 = moEDebuggerActivity.F0;
                    if (appCompatButton2 == null) {
                        Intrinsics.n("stopDebuggerView");
                        throw null;
                    }
                    appCompatButton2.setVisibility(0);
                    AppCompatButton appCompatButton3 = moEDebuggerActivity.E0;
                    if (appCompatButton3 == null) {
                        Intrinsics.n("extendDebuggerTimeView");
                        throw null;
                    }
                    appCompatButton3.setVisibility(0);
                } else {
                    AppCompatButton appCompatButton4 = moEDebuggerActivity.G0;
                    if (appCompatButton4 == null) {
                        Intrinsics.n("startDebuggerView");
                        throw null;
                    }
                    appCompatButton4.setVisibility(0);
                    AppCompatButton appCompatButton5 = moEDebuggerActivity.F0;
                    if (appCompatButton5 == null) {
                        Intrinsics.n("stopDebuggerView");
                        throw null;
                    }
                    appCompatButton5.setVisibility(8);
                    AppCompatButton appCompatButton6 = moEDebuggerActivity.E0;
                    if (appCompatButton6 == null) {
                        Intrinsics.n("extendDebuggerTimeView");
                        throw null;
                    }
                    appCompatButton6.setVisibility(8);
                }
            } else {
                ProgressBar progressBar3 = moEDebuggerActivity.G;
                if (progressBar3 == null) {
                    Intrinsics.n("progressBarView");
                    throw null;
                }
                progressBar3.setVisibility(8);
                TextView textView3 = moEDebuggerActivity.I;
                if (textView3 == null) {
                    Intrinsics.n("errorMessageView");
                    throw null;
                }
                textView3.setVisibility(0);
                LinearLayout linearLayout3 = moEDebuggerActivity.A0;
                if (linearLayout3 == null) {
                    Intrinsics.n("infoSectionView");
                    throw null;
                }
                linearLayout3.setVisibility(8);
            }
            return Unit.a;
        }
    }

    public static final class e extends Ob1 implements Function1<String, Unit> {
        public e() {
            super(1);
        }

        public final Object invoke(Object obj) {
            String str = (String) obj;
            TextView textView = MoEDebuggerActivity.this.J0;
            if (textView != null) {
                textView.setText(str);
                return Unit.a;
            }
            Intrinsics.n("deviceIdView");
            throw null;
        }
    }

    public static final class f extends Ob1 implements Function1<String, Unit> {
        public f() {
            super(1);
        }

        public final Object invoke(Object obj) {
            String str = (String) obj;
            MoEDebuggerActivity moEDebuggerActivity = MoEDebuggerActivity.this;
            TextView textView = moEDebuggerActivity.K0;
            if (textView == null) {
                Intrinsics.n("uniqueIdView");
                throw null;
            }
            if (str == null) {
                str = moEDebuggerActivity.getResources().getString(Tq2.moe_debugger_na_text);
            }
            textView.setText(str);
            return Unit.a;
        }
    }

    public static final class g extends Ob1 implements Function1<DebuggerLogConfig, Unit> {
        public g() {
            super(1);
        }

        public final Object invoke(Object obj) {
            DebuggerLogConfig debuggerLogConfig = (DebuggerLogConfig) obj;
            boolean isLoggingEnabled = debuggerLogConfig.isLoggingEnabled();
            MoEDebuggerActivity moEDebuggerActivity = MoEDebuggerActivity.this;
            if (isLoggingEnabled) {
                TextView textView = moEDebuggerActivity.B0;
                if (textView == null) {
                    Intrinsics.n("logLevelView");
                    throw null;
                }
                textView.setText((CharSequence) Wo1.b.get(Integer.valueOf(debuggerLogConfig.getLogLevel())));
                TextView textView2 = moEDebuggerActivity.C0;
                if (textView2 == null) {
                    Intrinsics.n("startTimeView");
                    throw null;
                }
                long expiryTime = debuggerLogConfig.getExpiryTime() - 7200000;
                Locale locale = Locale.ENGLISH;
                SimpleDateFormat simpleDateFormat = new SimpleDateFormat("dd/MM/yyyy hh:mm:ss", locale);
                Calendar calendar = Calendar.getInstance();
                calendar.setTimeInMillis(expiryTime);
                String format = simpleDateFormat.format(calendar.getTime());
                Intrinsics.checkNotNullExpressionValue(format, "format(...)");
                textView2.setText(format);
                TextView textView3 = moEDebuggerActivity.D0;
                if (textView3 == null) {
                    Intrinsics.n("endTimeView");
                    throw null;
                }
                long expiryTime2 = debuggerLogConfig.getExpiryTime();
                SimpleDateFormat simpleDateFormat2 = new SimpleDateFormat("dd/MM/yyyy hh:mm:ss", locale);
                Calendar calendar2 = Calendar.getInstance();
                calendar2.setTimeInMillis(expiryTime2);
                String format2 = simpleDateFormat2.format(calendar2.getTime());
                Intrinsics.checkNotNullExpressionValue(format2, "format(...)");
                textView3.setText(format2);
            } else {
                TextView textView4 = moEDebuggerActivity.B0;
                if (textView4 == null) {
                    Intrinsics.n("logLevelView");
                    throw null;
                }
                textView4.setText((CharSequence) Wo1.b.get(Integer.valueOf(moEDebuggerActivity.L0)));
                TextView textView5 = moEDebuggerActivity.C0;
                if (textView5 == null) {
                    Intrinsics.n("startTimeView");
                    throw null;
                }
                Resources resources = moEDebuggerActivity.getResources();
                int i = Tq2.moe_debugger_na_text;
                textView5.setText(resources.getString(i));
                TextView textView6 = moEDebuggerActivity.D0;
                if (textView6 == null) {
                    Intrinsics.n("endTimeView");
                    throw null;
                }
                textView6.setText(moEDebuggerActivity.getResources().getString(i));
            }
            return Unit.a;
        }
    }

    public static final class h extends Ob1 implements Function0<String> {
        public h() {
            super(0);
        }

        public final Object invoke() {
            StringBuilder sb = new StringBuilder();
            ?? r1 = MoEDebuggerActivity.this;
            sb.append(r1.F);
            sb.append(" onCreate(): ");
            sb.append(r1.getIntent().getData());
            return sb.toString();
        }
    }

    public static final class i extends Ob1 implements Function0<String> {
        public i() {
            super(0);
        }

        public final Object invoke() {
            return qe.a(new StringBuilder(), MoEDebuggerActivity.this.F, " onCreate(): SDK instance not found.");
        }
    }

    public static final class j extends Ob1 implements Function0<String> {
        public j() {
            super(0);
        }

        public final Object invoke() {
            return qe.a(new StringBuilder(), MoEDebuggerActivity.this.F, " onCreate(): ");
        }
    }

    public static final class k extends Ob1 implements Function0<String> {
        public k() {
            super(0);
        }

        public final Object invoke() {
            return qe.a(new StringBuilder(), MoEDebuggerActivity.this.F, " onOptionsItemSelected(): ");
        }
    }

    public static final class l implements b02, OE0 {
        public final Function1 a;

        public l(Function1 function1) {
            Intrinsics.checkNotNullParameter(function1, "function");
            this.a = function1;
        }

        public final void a(Object obj) {
            this.a.invoke(obj);
        }

        @Override
        public final FE0<?> b() {
            return this.a;
        }

        public final boolean equals(Object obj) {
            if (!(obj instanceof b02) || !(obj instanceof OE0)) {
                return false;
            }
            return Intrinsics.b(this.a, ((OE0) obj).b());
        }

        public final int hashCode() {
            return this.a.hashCode();
        }
    }

    public final void O0() {
        iH2 ih2 = this.M0;
        if (ih2 == null) {
            Intrinsics.n("sdkInstance");
            throw null;
        }
        To1.a(ih2.d, 0, (Throwable) null, (Function0) null, new a(), 7);
        TextView textView = this.H0;
        if (textView == null) {
            Intrinsics.n("workspaceIdView");
            throw null;
        }
        iH2 ih22 = this.M0;
        if (ih22 == null) {
            Intrinsics.n("sdkInstance");
            throw null;
        }
        textView.setText(ih22.a.a);
        TextView textView2 = this.I0;
        if (textView2 == null) {
            Intrinsics.n("environmentView");
            throw null;
        }
        boolean z = FU.z(this);
        iH2 ih23 = this.M0;
        if (ih23 == null) {
            Intrinsics.n("sdkInstance");
            throw null;
        }
        WC1 wc1 = ih23.b.n.a;
        Intrinsics.checkNotNullParameter(wc1, PaymentConstants.ENV);
        if (Xn3$d.a[wc1.ordinal()] == 1) {
            wc1 = z ? WC1.b : WC1.a;
        }
        textView2.setText(wc1.toString());
    }

    public final void Q0() {
        To1$a.d(To1.e, 0, null, null, new b(), 7);
        setSupportActionBar(findViewById(Up2.toolbar));
        View findViewById = findViewById(Up2.progressIndicatorView);
        Intrinsics.checkNotNullExpressionValue(findViewById, "findViewById(...)");
        this.G = (ProgressBar) findViewById;
        View findViewById2 = findViewById(Up2.errorMessageTextView);
        Intrinsics.checkNotNullExpressionValue(findViewById2, "findViewById(...)");
        this.I = (TextView) findViewById2;
        View findViewById3 = findViewById(Up2.infoSectionView);
        Intrinsics.checkNotNullExpressionValue(findViewById3, "findViewById(...)");
        this.A0 = (LinearLayout) findViewById3;
        View findViewById4 = findViewById(Up2.logLevelTextView);
        Intrinsics.checkNotNullExpressionValue(findViewById4, "findViewById(...)");
        this.B0 = (TextView) findViewById4;
        View findViewById5 = findViewById(Up2.startTimeTextView);
        Intrinsics.checkNotNullExpressionValue(findViewById5, "findViewById(...)");
        this.C0 = (TextView) findViewById5;
        View findViewById6 = findViewById(Up2.endTimeTextView);
        Intrinsics.checkNotNullExpressionValue(findViewById6, "findViewById(...)");
        this.D0 = (TextView) findViewById6;
        AppCompatButton findViewById7 = findViewById(Up2.stopButtonView);
        Intrinsics.checkNotNullExpressionValue(findViewById7, "findViewById(...)");
        this.F0 = findViewById7;
        AppCompatButton findViewById8 = findViewById(Up2.startButtonView);
        Intrinsics.checkNotNullExpressionValue(findViewById8, "findViewById(...)");
        this.G0 = findViewById8;
        AppCompatButton findViewById9 = findViewById(Up2.extendButtonView);
        Intrinsics.checkNotNullExpressionValue(findViewById9, "findViewById(...)");
        this.E0 = findViewById9;
        View findViewById10 = findViewById(Up2.workspaceIdTextView);
        Intrinsics.checkNotNullExpressionValue(findViewById10, "findViewById(...)");
        this.H0 = (TextView) findViewById10;
        View findViewById11 = findViewById(Up2.environmentTextView);
        Intrinsics.checkNotNullExpressionValue(findViewById11, "findViewById(...)");
        this.I0 = (TextView) findViewById11;
        View findViewById12 = findViewById(Up2.deviceIdTextView);
        Intrinsics.checkNotNullExpressionValue(findViewById12, "findViewById(...)");
        this.J0 = (TextView) findViewById12;
        View findViewById13 = findViewById(Up2.uniqueIdTextView);
        Intrinsics.checkNotNullExpressionValue(findViewById13, "findViewById(...)");
        this.K0 = (TextView) findViewById13;
        AppCompatButton appCompatButton = this.G0;
        if (appCompatButton == null) {
            Intrinsics.n("startDebuggerView");
            throw null;
        }
        appCompatButton.setOnClickListener(new h1(this, 1));
        AppCompatButton appCompatButton2 = this.F0;
        if (appCompatButton2 == null) {
            Intrinsics.n("stopDebuggerView");
            throw null;
        }
        final int i2 = 0;
        appCompatButton2.setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                int i3 = i2;
                Object obj = this;
                switch (i3) {
                    case 0:
                        MoEDebuggerActivity moEDebuggerActivity = (MoEDebuggerActivity) obj;
                        int i4 = MoEDebuggerActivity.O0;
                        Intrinsics.checkNotNullParameter(moEDebuggerActivity, "this$0");
                        P30 p30 = moEDebuggerActivity.N0;
                        if (p30 == null) {
                            Intrinsics.n("viewModel");
                            throw null;
                        }
                        p30.c.f.e(new OS(p30, 8));
                        String string = moEDebuggerActivity.getResources().getString(Tq2.moe_debugger_disable_log_update_message);
                        Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
                        moEDebuggerActivity.S0(string, vB1.a);
                        return;
                    case 1:
                        VideoPdfsFragment videoPdfsFragment = (VideoPdfsFragment) obj;
                        int i5 = VideoPdfsFragment.G;
                        Intrinsics.checkNotNullParameter(videoPdfsFragment, "this$0");
                        LC1.e(videoPdfsFragment).x();
                        return;
                    case 2:
                        Fo0 fo0 = (Fo0) obj;
                        int i6 = Fo0.f1;
                        Intrinsics.checkNotNullParameter(fo0, "this$0");
                        if (fo0.A && fo0.m1().o() != null) {
                            BatchCredential o = fo0.m1().o();
                            if (!TextUtils.isEmpty(o != null ? o.h() : null) && fo0.m1().t().isDoubtEnabled()) {
                                wm2.a.getClass();
                                wm2.g(wm2.d);
                                return;
                            }
                            return;
                        }
                        return;
                    case 3:
                        LiveChatFragment liveChatFragment = (LiveChatFragment) obj;
                        int i7 = LiveChatFragment.U;
                        Intrinsics.checkNotNullParameter(liveChatFragment, "this$0");
                        oF oFVar = liveChatFragment.w1().T;
                        if (oFVar != null) {
                            oFVar.g();
                            return;
                        }
                        return;
                    default:
                        hE0 he0 = (hE0) obj;
                        int i8 = hE0.h;
                        Intrinsics.checkNotNullParameter(he0, "this$0");
                        he0.dismiss();
                        return;
                }
            }
        });
        AppCompatButton appCompatButton3 = this.E0;
        if (appCompatButton3 != null) {
            appCompatButton3.setOnClickListener(new NG(this, 1));
        } else {
            Intrinsics.n("extendDebuggerTimeView");
            throw null;
        }
    }

    public final void R0() {
        iH2 ih2 = this.M0;
        if (ih2 == null) {
            Intrinsics.n("sdkInstance");
            throw null;
        }
        To1.a(ih2.d, 0, (Throwable) null, (Function0) null, new c(), 7);
        int i2 = this.L0;
        iH2 ih22 = this.M0;
        if (ih22 == null) {
            Intrinsics.n("sdkInstance");
            throw null;
        }
        Q30 q30 = new Q30(i2, this, ih22);
        Intrinsics.checkNotNullParameter(this, "owner");
        Intrinsics.checkNotNullParameter(q30, "factory");
        Qt3 viewModelStore = getViewModelStore();
        SW b2 = Pt3.b(this);
        Intrinsics.checkNotNullParameter(viewModelStore, "store");
        Intrinsics.checkNotNullParameter(q30, "factory");
        Intrinsics.checkNotNullParameter(b2, "defaultCreationExtras");
        Ot3 ot3 = new Ot3(viewModelStore, q30, b2);
        Intrinsics.checkNotNullParameter(P30.class, "modelClass");
        EG j2 = QF.j(P30.class);
        Intrinsics.checkNotNullParameter(j2, "modelClass");
        P30 p30 = (P30) Ot3.b(ot3, j2);
        this.N0 = p30;
        if (p30 == null) {
            Intrinsics.n("viewModel");
            throw null;
        }
        p30.f.f(this, new l(new d()));
        P30 p302 = this.N0;
        if (p302 == null) {
            Intrinsics.n("viewModel");
            throw null;
        }
        p302.h.f(this, new l(new e()));
        P30 p303 = this.N0;
        if (p303 == null) {
            Intrinsics.n("viewModel");
            throw null;
        }
        p303.i.f(this, new l(new f()));
        P30 p304 = this.N0;
        if (p304 != null) {
            p304.g.f(this, new l(new g()));
        } else {
            Intrinsics.n("viewModel");
            throw null;
        }
    }

    public final void S0(String str, vB1 vb1) {
        int ordinal = vb1.ordinal();
        if (ordinal == 0) {
            Toast.makeText((Context) this, (CharSequence) str, 1).show();
            return;
        }
        if (ordinal != 1) {
            return;
        }
        TextView textView = this.I;
        if (textView == null) {
            Intrinsics.n("errorMessageView");
            throw null;
        }
        textView.setText(str);
        TextView textView2 = this.I;
        if (textView2 == null) {
            Intrinsics.n("errorMessageView");
            throw null;
        }
        textView2.setVisibility(0);
        ProgressBar progressBar = this.G;
        if (progressBar == null) {
            Intrinsics.n("progressBarView");
            throw null;
        }
        progressBar.setVisibility(8);
        LinearLayout linearLayout = this.A0;
        if (linearLayout != null) {
            linearLayout.setVisibility(8);
        } else {
            Intrinsics.n("infoSectionView");
            throw null;
        }
    }

    public final void onCreate(Bundle bundle) {
        super/*androidx.fragment.app.e*/.onCreate(bundle);
        try {
            To1$a to1$a = To1.e;
            To1$a.d(to1$a, 0, null, null, new h(), 7);
            setContentView(C0620zq2.activity_moe_debugger);
            Q0();
            iH2 b2 = Xn3.b(getIntent().getExtras());
            if (b2 == null) {
                To1$a.d(to1$a, 0, null, null, new i(), 7);
                String string = getResources().getString(Tq2.moe_debugger_wrong_workspace_id_message);
                Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
                S0(string, vB1.b);
                return;
            }
            this.M0 = b2;
            HashMap hashMap = Wo1.a;
            Bundle extras = getIntent().getExtras();
            Integer num = (Integer) hashMap.get(extras != null ? extras.getString("logLevel") : null);
            this.L0 = num != null ? num.intValue() : 5;
            O0();
            R0();
        } catch (Throwable th) {
            if (th instanceof UnsupportedOperationException) {
                String string2 = getResources().getString(Tq2.moe_debugger_wrong_environment);
                Intrinsics.checkNotNullExpressionValue(string2, "getString(...)");
                S0(string2, vB1.b);
            }
            To1$a.d(To1.e, 1, th, null, new j(), 4);
        }
    }

    public final boolean onCreateOptionsMenu(Menu menu) {
        Intrinsics.checkNotNullParameter(menu, "menu");
        getMenuInflater().inflate(Fq2.moe_debugger_share_menu, menu);
        return true;
    }

    public final boolean onOptionsItemSelected(MenuItem menuItem) {
        Intrinsics.checkNotNullParameter(menuItem, "item");
        try {
            if (menuItem.getItemId() != Up2.action_share) {
                return super/*android.app.Activity*/.onOptionsItemSelected(menuItem);
            }
            if (this.M0 == null) {
                String string = getResources().getString(Tq2.moe_debugger_share_error_text);
                Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
                S0(string, vB1.a);
            } else {
                String string2 = getResources().getString(Tq2.moe_debugger_share_subject);
                Intrinsics.checkNotNullExpressionValue(string2, "getString(...)");
                P30 p30 = this.N0;
                if (p30 == null) {
                    Intrinsics.n("viewModel");
                    throw null;
                }
                F30 f30 = (F30) p30.f.e();
                if (f30 == null) {
                    f30 = F30.a;
                }
                F30 f302 = f30;
                TextView textView = this.B0;
                if (textView == null) {
                    Intrinsics.n("logLevelView");
                    throw null;
                }
                String obj = textView.getText().toString();
                TextView textView2 = this.C0;
                if (textView2 == null) {
                    Intrinsics.n("startTimeView");
                    throw null;
                }
                String obj2 = textView2.getText().toString();
                TextView textView3 = this.D0;
                if (textView3 == null) {
                    Intrinsics.n("endTimeView");
                    throw null;
                }
                String obj3 = textView3.getText().toString();
                TextView textView4 = this.H0;
                if (textView4 == null) {
                    Intrinsics.n("workspaceIdView");
                    throw null;
                }
                String obj4 = textView4.getText().toString();
                TextView textView5 = this.I0;
                if (textView5 == null) {
                    Intrinsics.n("environmentView");
                    throw null;
                }
                String obj5 = textView5.getText().toString();
                TextView textView6 = this.J0;
                if (textView6 == null) {
                    Intrinsics.n("deviceIdView");
                    throw null;
                }
                String obj6 = textView6.getText().toString();
                TextView textView7 = this.K0;
                if (textView7 == null) {
                    Intrinsics.n("uniqueIdView");
                    throw null;
                }
                String obj7 = textView7.getText().toString();
                TimeZone timeZone = TimeZone.getDefault();
                Intrinsics.checkNotNullExpressionValue(timeZone, "getDefault(...)");
                Xn3.d(this, new DebuggerInfo(string2, f302, obj, obj2, obj3, obj4, obj5, obj6, obj7, Xn3.c(timeZone, System.currentTimeMillis())));
            }
            return true;
        } catch (Throwable th) {
            iH2 ih2 = this.M0;
            if (ih2 == null) {
                Intrinsics.n("sdkInstance");
                throw null;
            }
            To1.a(ih2.d, 1, th, (Function0) null, new k(), 4);
            return super/*android.app.Activity*/.onOptionsItemSelected(menuItem);
        }
    }
}