WeChat.apk(点击下载) / SettingsPersonalInfoPreviewUI.java


package com.tencent.mm.plugin.setting.ui.setting;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Looper;
import android.text.TextUtils;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.ScrollView;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.tencent.mm.R;
import com.tencent.mm.autogen.events.RcptRecentAddrEvent;
import com.tencent.mm.autogen.mmdata.rpt.UserPrivacySettingClientReportStruct;
import com.tencent.mm.plugin.mmsight.segment.FFmpegMetadataRetriever;
import com.tencent.mm.sdk.platformtools.ChannelUtil;
import com.tencent.mm.sdk.platformtools.Util;
import com.tencent.mm.sdk.platformtools.WeChatBrands;
import com.tencent.mm.storage.z1;
import com.tencent.mm.ui.MMActivity;
import com.tencent.mm.ui.t2;
import com.tencent.mm.view.recyclerview.WxRecyclerAdapter;
import com.tencent.mm.view.recyclerview.WxRecyclerView;
import d60.z;
import gh.q;
import h54.d;
import i84.j;
import i84.o;
import ie1.h;
import java.util.ArrayList;
import java.util.List;
import kotlin.Metadata;
import lh4.a0;
import lh4.m;
import nf0.t4;
import nf0.u0;
import wg4.n;
import xg4.v;

@Metadata(bv = {}, d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\u0018\u00002\u00020\u0001:\u0002\u0007\bB\u0007¢\u0006\u0004\b\u0005\u0010\u0006R\u0018\u0010\u0003\u001a\u0004\u0018\u00010\u00028\u0002@\u0002X‚\u000e¢\u0006\u0006\n\u0004\b\u0003\u0010\u0004¨\u0006\t"}, d2 = {"Lcom/tencent/mm/plugin/setting/ui/setting/SettingsPersonalInfoPreviewUI;", "Lcom/tencent/mm/ui/MMActivity;", "Lh54/d$b;", "mStatusBarHeightCallback", "Lh54/d$b;", "<init>", "()V", "a", "b", "plugin-setting_release"}, k = 1, mv = {1, 7, 1})
public final class SettingsPersonalInfoPreviewUI extends MMActivity {

    /* renamed from: h  reason: collision with root package name */
    public static final /* synthetic */ int f145206h = 0;

    /* renamed from: e  reason: collision with root package name */
    public final wg4.g f145207e = wg4.h.a(c.f145217d);

    /* renamed from: f  reason: collision with root package name */
    public List<? extends ml0.b> f145208f;

    /* renamed from: g  reason: collision with root package name */
    public View f145209g;
    private d.b mStatusBarHeightCallback;

    public final class a extends k34.a {

        /* renamed from: s  reason: collision with root package name */
        public final String f145210s;

        /* renamed from: t  reason: collision with root package name */
        public final String f145211t;

        /* renamed from: u  reason: collision with root package name */
        public final ArrayList<b> f145212u;

        /* renamed from: com.tencent.mm.plugin.setting.ui.setting.SettingsPersonalInfoPreviewUI$a$a  reason: collision with other inner class name */
        public final class C1500a extends i84.i<b> {
            /* JADX WARN: Incorrect args count in method signature: ()V */
            public C1500a(a aVar) {
            }

            @Override // i84.i
            public int g() {
                return R.layout.bj7;
            }

            /* JADX DEBUG: Method arguments types fixed to match base method, original types: [i84.o, i84.c, int, int, boolean, java.util.List] */
            @Override // i84.i
            public void i(o oVar, b bVar, int i15, int i16, boolean z15, List list) {
                b bVar2 = bVar;
                m.g(oVar, "holder");
                m.g(bVar2, "data");
                ((TextView) oVar.D(R.id.odf)).setText(bVar2.f145214d);
                ((TextView) oVar.D(R.id.cut)).setText(bVar2.f145215e);
                ((TextView) oVar.D(R.id.o7z)).setText(bVar2.f145216f);
            }

            @Override // i84.i
            public void j(RecyclerView recyclerView, o oVar, int i15) {
                m.g(recyclerView, "recyclerView");
                m.g(oVar, "holder");
            }
        }

        public static final class b extends WxRecyclerAdapter<b> {
            public b(j jVar, ArrayList<b> arrayList) {
                super(jVar, arrayList, true);
            }

            @Override // com.tencent.mm.view.recyclerview.WxRecyclerAdapter
            public boolean J6() {
                return false;
            }
        }

        public static final class c implements View.OnClickListener {

            /* renamed from: d  reason: collision with root package name */
            public final /* synthetic */ a f145213d;

            public c(a aVar) {
                this.f145213d = aVar;
            }

            public final void onClick(View view) {
                ArrayList arrayList = new ArrayList();
                arrayList.add(view);
                Object[] array = arrayList.toArray();
                arrayList.clear();
                j30.a.b("com/tencent/mm/plugin/setting/ui/setting/SettingsPersonalInfoPreviewUI$HalfScreenAddressDlg$initContentView$3", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V", this, array);
                this.f145213d.dismiss();
                j30.a.g(this, "com/tencent/mm/plugin/setting/ui/setting/SettingsPersonalInfoPreviewUI$HalfScreenAddressDlg$initContentView$3", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V");
            }
        }

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public a(SettingsPersonalInfoPreviewUI settingsPersonalInfoPreviewUI, Context context, String str, String str2, ArrayList<b> arrayList) {
            super(context);
            m.g(context, "context");
            m.g(str, FFmpegMetadataRetriever.METADATA_KEY_TITLE);
            m.g(str2, "empty");
            m.g(arrayList, "data");
            this.f145210s = str;
            this.f145211t = str2;
            this.f145212u = arrayList;
        }

        @Override // k34.a
        public View L() {
            View inflate = t2.b(getContext()).inflate(R.layout.bj6, (ViewGroup) null);
            m.f(inflate, "getInflater(context).inf…een_address_dialog, null)");
            return inflate;
        }

        @Override // k34.a
        public void M() {
            super.M();
            TextView textView = (TextView) findViewById(R.id.odf);
            if (textView != null) {
                textView.setText(this.f145210s);
            }
            ArrayList<b> arrayList = this.f145212u;
            if (arrayList == null || arrayList.isEmpty()) {
                View findViewById = findViewById(R.id.lqa);
                if (findViewById != null) {
                    k30.a aVar = new k30.a();
                    ThreadLocal<k30.a> threadLocal = k30.c.f244265a;
                    aVar.c(8);
                    j30.a.d(findViewById, aVar.b(), "com/tencent/mm/plugin/setting/ui/setting/SettingsPersonalInfoPreviewUI$HalfScreenAddressDlg", "initContentView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V");
                    findViewById.setVisibility(((Integer) aVar.a(0)).intValue());
                    j30.a.e(findViewById, "com/tencent/mm/plugin/setting/ui/setting/SettingsPersonalInfoPreviewUI$HalfScreenAddressDlg", "initContentView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V");
                }
                TextView textView2 = (TextView) findViewById(R.id.f362959dg2);
                if (textView2 != null) {
                    textView2.setText(this.f145211t);
                    textView2.setVisibility(0);
                }
            } else {
                WxRecyclerView wxRecyclerView = (WxRecyclerView) findViewById(R.id.lqa);
                if (wxRecyclerView != null) {
                    wxRecyclerView.setLayoutManager(new LinearLayoutManager(wxRecyclerView.getContext(), 1, false));
                    wxRecyclerView.setAdapter(new b(new SettingsPersonalInfoPreviewUI$HalfScreenAddressDlg$buildItemConverts$1(this), this.f145212u));
                }
            }
            View findViewById2 = findViewById(R.id.f362701bz2);
            if (findViewById2 != null) {
                findViewById2.setOnClickListener(new c(this));
            }
        }
    }

    public final class b implements i84.c {

        /* renamed from: d  reason: collision with root package name */
        public final String f145214d;

        /* renamed from: e  reason: collision with root package name */
        public final String f145215e;

        /* renamed from: f  reason: collision with root package name */
        public final String f145216f;

        public b(SettingsPersonalInfoPreviewUI settingsPersonalInfoPreviewUI, String str, String str2, String str3) {
            m.g(str, FFmpegMetadataRetriever.METADATA_KEY_TITLE);
            m.g(str2, "desc");
            m.g(str3, "time");
            this.f145214d = str;
            this.f145215e = str2;
            this.f145216f = str3;
        }

        @Override // i84.c
        public long getItemId() {
            return (long) hashCode();
        }

        @Override // i84.c
        public int m() {
            return 1;
        }
    }

    public static final class c extends lh4.o implements kh4.a<String> {

        /* renamed from: d  reason: collision with root package name */
        public static final c f145217d = new c();

        public c() {
            super(0);
        }

        /* Return type fixed from 'java.lang.Object' to match base method */
        @Override // kh4.a
        public String invoke() {
            return ((ie1.h) yz3.j.c(ie1.h.class)).pi(h.c.rD, "https://support.weixin.qq.com/security/readtemplate?t=exportdata/index_new&security=2");
        }
    }

    public static final class d implements View.OnClickListener {

        /* renamed from: d  reason: collision with root package name */
        public final /* synthetic */ SettingsPersonalInfoPreviewUI f145218d;

        public d(SettingsPersonalInfoPreviewUI settingsPersonalInfoPreviewUI) {
            this.f145218d = settingsPersonalInfoPreviewUI;
        }

        public final void onClick(View view) {
            ArrayList arrayList = new ArrayList();
            arrayList.add(view);
            Object[] array = arrayList.toArray();
            arrayList.clear();
            j30.a.b("com/tencent/mm/plugin/setting/ui/setting/SettingsPersonalInfoPreviewUI$initView$10", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V", this, array);
            SettingsPersonalInfoPreviewUI settingsPersonalInfoPreviewUI = this.f145218d;
            List<? extends ml0.b> list = settingsPersonalInfoPreviewUI.f145208f;
            if (list != null) {
                ArrayList arrayList2 = new ArrayList(v.m(list, 10));
                for (T t15 : list) {
                    StringBuilder sb5 = new StringBuilder();
                    if (!TextUtils.isEmpty(t15.f266000f)) {
                        sb5.append(t15.f266000f);
                    }
                    if (!TextUtils.isEmpty(t15.f266001g)) {
                        sb5.append(" ");
                        sb5.append(t15.f266001g);
                    }
                    if (!TextUtils.isEmpty(t15.f266002h)) {
                        sb5.append(" ");
                        sb5.append(t15.f266002h);
                    }
                    if (!TextUtils.isEmpty(t15.f266008q)) {
                        sb5.append(" ");
                        sb5.append(t15.f266008q);
                    }
                    if (!TextUtils.isEmpty(t15.f266004j)) {
                        sb5.append(" ");
                        sb5.append(t15.f266004j);
                    }
                    String sb6 = sb5.toString();
                    m.f(sb6, "builder.toString()");
                    arrayList2.add(new b(settingsPersonalInfoPreviewUI, t15.f266005n + (char) 65292 + t15.f266006o, sb6, ""));
                }
                SettingsPersonalInfoPreviewUI settingsPersonalInfoPreviewUI2 = this.f145218d;
                AppCompatActivity context = settingsPersonalInfoPreviewUI2.getContext();
                m.f(context, "context");
                String string = settingsPersonalInfoPreviewUI2.getString(R.string.ipa);
                m.f(string, "getString(R.string.settings_address)");
                String string2 = settingsPersonalInfoPreviewUI2.getString(R.string.iwc);
                m.f(string2, "getString(R.string.setti…personal_info_no_address)");
                new a(settingsPersonalInfoPreviewUI2, context, string, string2, new ArrayList(arrayList2)).show();
            }
            j30.a.g(this, "com/tencent/mm/plugin/setting/ui/setting/SettingsPersonalInfoPreviewUI$initView$10", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V");
        }
    }

    public static final class e implements View.OnClickListener {

        /* renamed from: d  reason: collision with root package name */
        public final /* synthetic */ SettingsPersonalInfoPreviewUI f145219d;

        public e(SettingsPersonalInfoPreviewUI settingsPersonalInfoPreviewUI) {
            this.f145219d = settingsPersonalInfoPreviewUI;
        }

        public final void onClick(View view) {
            ArrayList arrayList = new ArrayList();
            arrayList.add(view);
            Object[] array = arrayList.toArray();
            arrayList.clear();
            j30.a.b("com/tencent/mm/plugin/setting/ui/setting/SettingsPersonalInfoPreviewUI$initView$11", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V", this, array);
            List<cl0.e> Ga = cl0.h.VN0().Ga();
            SettingsPersonalInfoPreviewUI settingsPersonalInfoPreviewUI = this.f145219d;
            ArrayList arrayList2 = new ArrayList(v.m(Ga, 10));
            for (T t15 : Ga) {
                String str = t15.field_name;
                m.f(str, "deviceInfo.field_name");
                String str2 = t15.field_devicetype;
                m.f(str2, "deviceInfo.field_devicetype");
                arrayList2.add(new b(settingsPersonalInfoPreviewUI, str, str2, uu3.j.e(settingsPersonalInfoPreviewUI.getContext(), t15.field_createtime * ((long) 1000), true).toString()));
            }
            SettingsPersonalInfoPreviewUI settingsPersonalInfoPreviewUI2 = this.f145219d;
            AppCompatActivity context = settingsPersonalInfoPreviewUI2.getContext();
            m.f(context, "context");
            String string = settingsPersonalInfoPreviewUI2.getString(R.string.isk);
            m.f(string, "getString(com.tencent.mm…ings_manage_login_device)");
            String string2 = settingsPersonalInfoPreviewUI2.getString(R.string.iwd);
            m.f(string2, "getString(R.string.setti…personal_info_no_devices)");
            new a(settingsPersonalInfoPreviewUI2, context, string, string2, new ArrayList(arrayList2)).show();
            j30.a.g(this, "com/tencent/mm/plugin/setting/ui/setting/SettingsPersonalInfoPreviewUI$initView$11", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V");
        }
    }

    public static final class f implements MenuItem.OnMenuItemClickListener {

        /* renamed from: d  reason: collision with root package name */
        public final /* synthetic */ SettingsPersonalInfoPreviewUI f145220d;

        public f(SettingsPersonalInfoPreviewUI settingsPersonalInfoPreviewUI) {
            this.f145220d = settingsPersonalInfoPreviewUI;
        }

        public final boolean onMenuItemClick(MenuItem menuItem) {
            this.f145220d.finish();
            return true;
        }
    }

    public static final class g implements View.OnScrollChangeListener {

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ SettingsPersonalInfoPreviewUI f145221a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ a0 f145222b;

        public g(SettingsPersonalInfoPreviewUI settingsPersonalInfoPreviewUI, a0 a0Var) {
            this.f145221a = settingsPersonalInfoPreviewUI;
            this.f145222b = a0Var;
        }

        public final void onScrollChange(View view, int i15, int i16, int i17, int i18) {
            k30.b bVar = new k30.b();
            bVar.c(view);
            bVar.b(i15);
            bVar.b(i16);
            bVar.b(i17);
            bVar.b(i18);
            j30.a.b("com/tencent/mm/plugin/setting/ui/setting/SettingsPersonalInfoPreviewUI$onCreate$2", "android/view/View$OnScrollChangeListener", "onScrollChange", "(Landroid/view/View;IIII)V", this, bVar.a());
            if (view.getScrollY() > gy3.a.b(this.f145221a.getContext(), 80)) {
                if (this.f145222b.f253280d) {
                    this.f145221a.setMMTitle(R.string.iwa);
                    SettingsPersonalInfoPreviewUI settingsPersonalInfoPreviewUI = this.f145221a;
                    settingsPersonalInfoPreviewUI.setActionbarColor(settingsPersonalInfoPreviewUI.getResources().getColor(R.color.aaw));
                    this.f145221a.supportLightStatusBar();
                    this.f145222b.f253280d = false;
                }
            } else if (!this.f145222b.f253280d) {
                this.f145221a.setMMTitle("");
                SettingsPersonalInfoPreviewUI settingsPersonalInfoPreviewUI2 = this.f145221a;
                settingsPersonalInfoPreviewUI2.setActionbarColor(settingsPersonalInfoPreviewUI2.getResources().getColor(R.color.a9e));
                SettingsPersonalInfoPreviewUI settingsPersonalInfoPreviewUI3 = this.f145221a;
                settingsPersonalInfoPreviewUI3.setActionbarElementColor(settingsPersonalInfoPreviewUI3.getContext().getResources().getColor(R.color.FG_0));
                this.f145221a.supportLightStatusBar();
                this.f145222b.f253280d = true;
            }
            j30.a.g(this, "com/tencent/mm/plugin/setting/ui/setting/SettingsPersonalInfoPreviewUI$onCreate$2", "android/view/View$OnScrollChangeListener", "onScrollChange", "(Landroid/view/View;IIII)V");
        }
    }

    public static final class h implements View.OnClickListener {

        /* renamed from: d  reason: collision with root package name */
        public final /* synthetic */ SettingsPersonalInfoPreviewUI f145223d;

        /* renamed from: e  reason: collision with root package name */
        public final /* synthetic */ TextView f145224e;

        public h(SettingsPersonalInfoPreviewUI settingsPersonalInfoPreviewUI, TextView textView) {
            this.f145223d = settingsPersonalInfoPreviewUI;
            this.f145224e = textView;
        }

        public final void onClick(View view) {
            ArrayList arrayList = new ArrayList();
            arrayList.add(view);
            Object[] array = arrayList.toArray();
            arrayList.clear();
            j30.a.b("com/tencent/mm/plugin/setting/ui/setting/SettingsPersonalInfoPreviewUI$onCreate$3$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V", this, array);
            Intent intent = new Intent();
            intent.putExtra("showShare", false);
            SettingsPersonalInfoPreviewUI settingsPersonalInfoPreviewUI = this.f145223d;
            int i15 = SettingsPersonalInfoPreviewUI.f145206h;
            Object value = ((n) settingsPersonalInfoPreviewUI.f145207e).getValue();
            m.f(value, "<get-exportUrl>(...)");
            intent.putExtra("rawUrl", (String) value);
            intent.putExtra("show_feedback", false);
            intent.putExtra("show_bottom", false);
            intent.putExtra("needRedirect", false);
            intent.putExtra("neverGetA8Key", false);
            sv3.b.j(this.f145224e.getContext(), "webview", ".ui.tools.WebViewUI", intent, null);
            UserPrivacySettingClientReportStruct userPrivacySettingClientReportStruct = new UserPrivacySettingClientReportStruct();
            userPrivacySettingClientReportStruct.f70908d = 151;
            userPrivacySettingClientReportStruct.n();
            j30.a.g(this, "com/tencent/mm/plugin/setting/ui/setting/SettingsPersonalInfoPreviewUI$onCreate$3$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V");
        }
    }

    public static final class i implements Runnable {

        /* renamed from: d  reason: collision with root package name */
        public final /* synthetic */ RcptRecentAddrEvent f145225d;

        /* renamed from: e  reason: collision with root package name */
        public final /* synthetic */ SettingsPersonalInfoPreviewUI f145226e;

        public i(RcptRecentAddrEvent rcptRecentAddrEvent, SettingsPersonalInfoPreviewUI settingsPersonalInfoPreviewUI) {
            this.f145225d = rcptRecentAddrEvent;
            this.f145226e = settingsPersonalInfoPreviewUI;
        }

        public final void run() {
            RcptRecentAddrEvent.b bVar = this.f145225d.f64045e;
            if (bVar.f64048a == 0) {
                SettingsPersonalInfoPreviewUI settingsPersonalInfoPreviewUI = this.f145226e;
                List<? extends ml0.b> list = bVar.f64059l;
                settingsPersonalInfoPreviewUI.f145208f = list;
                if (list == null) {
                    settingsPersonalInfoPreviewUI.f145208f = new ArrayList();
                }
            }
        }
    }

    @Override // com.tencent.mm.ui.MMActivity
    public int getLayoutId() {
        return R.layout.clv;
    }

    @Override // com.tencent.mm.ui.MMActivity
    public void initView() {
        super.initView();
        ((yn.f) yz3.j.c(yn.f.class)).v((ImageView) findViewById(R.id.a_4), u0.r());
        String str = (String) z.s().i().e(4, null);
        if (str != null) {
            ((TextView) findViewById(R.id.kbq)).setText(((hz.h) yz3.j.c(hz.h.class)).g2(getContext(), str));
        }
        TextView textView = (TextView) findViewById(R.id.ovg);
        String c15 = u0.c();
        String r15 = u0.r();
        boolean z15 = true;
        if (!(c15 == null || c15.length() == 0)) {
            textView.setText(c15);
        } else if (z1.Q4(r15)) {
            textView.setText(getString(R.string.ium));
        } else {
            textView.setText(r15);
        }
        TextView textView2 = (TextView) findViewById(R.id.gqj);
        int nullAs = Util.nullAs((Integer) z.s().i().e(12290, null), 0);
        if (nullAs == 0) {
            textView2.setText(getString(R.string.iy8));
        } else if (nullAs == 1) {
            textView2.setText(R.string.j1n);
        } else if (nullAs == 2) {
            textView2.setText(R.string.j1m);
        }
        t4 a15 = t4.a();
        String nullAsNil = Util.nullAsNil(a15.d());
        ((TextView) findViewById(R.id.d0t)).setText(((hh2.j) yz3.j.c(hh2.j.class)).Pl0(nullAsNil) + ' ' + Util.nullAsNil(a15.c()));
        TextView textView3 = (TextView) findViewById(R.id.f364587mx0);
        String nullAsNil2 = Util.nullAsNil((String) z.s().i().e(12291, null));
        hz.h hVar = (hz.h) yz3.j.c(hz.h.class);
        Context context = textView3.getContext();
        if (nullAsNil2.length() <= 0) {
            nullAsNil2 = getString(R.string.iy8);
        }
        textView3.setText(hVar.g2(context, nullAsNil2));
        TextView textView4 = (TextView) findViewById(R.id.kux);
        String str2 = (String) z.s().i().e(6, null);
        if (str2 == null || str2.length() <= 0) {
            textView4.setText(getString(R.string.ipy));
        } else {
            textView4.setText(str2);
        }
        TextView textView5 = (TextView) findViewById(R.id.lel);
        Object e15 = z.s().i().e(9, 0);
        m.e(e15, "null cannot be cast to non-null type kotlin.Int");
        int intValue = ((Integer) e15).intValue();
        if (intValue != 0) {
            textView5.setText("" + new q(intValue));
        } else if (Util.getInt(((jt3.b) z.q(jt3.b.class)).gv0().d("BindQQSwitch"), 1) != 1) {
            View findViewById = textView5.findViewById(R.id.lem);
            k30.a aVar = new k30.a();
            ThreadLocal<k30.a> threadLocal = k30.c.f244265a;
            aVar.c(8);
            j30.a.d(findViewById, aVar.b(), "com/tencent/mm/plugin/setting/ui/setting/SettingsPersonalInfoPreviewUI", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V");
            findViewById.setVisibility(((Integer) aVar.a(0)).intValue());
            j30.a.e(findViewById, "com/tencent/mm/plugin/setting/ui/setting/SettingsPersonalInfoPreviewUI", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V");
        } else {
            textView5.setText(R.string.ipy);
        }
        if (WeChatBrands.Business.Entries.MeSetSecurityQQ.banned()) {
            View findViewById2 = textView5.findViewById(R.id.lem);
            k30.a aVar2 = new k30.a();
            ThreadLocal<k30.a> threadLocal2 = k30.c.f244265a;
            aVar2.c(8);
            j30.a.d(findViewById2, aVar2.b(), "com/tencent/mm/plugin/setting/ui/setting/SettingsPersonalInfoPreviewUI", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V");
            findViewById2.setVisibility(((Integer) aVar2.a(0)).intValue());
            j30.a.e(findViewById2, "com/tencent/mm/plugin/setting/ui/setting/SettingsPersonalInfoPreviewUI", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V");
        }
        TextView textView6 = (TextView) findViewById(R.id.f363952j84);
        String str3 = (String) z.s().i().e(5, null);
        if (!(str3 == null || str3.length() == 0)) {
            z15 = false;
        }
        if (!z15) {
            textView6.setText(str3);
        } else {
            textView6.setText(R.string.inp);
        }
        TextView textView7 = (TextView) findViewById(R.id.a4b);
        textView7.setText(ChannelUtil.formatVersion(textView7.getContext(), yv3.d.f349176g));
        findViewById(R.id.f364097k34).setOnClickListener(new d(this));
        findViewById(R.id.f363868ip1).setOnClickListener(new e(this));
    }

    /* JADX WARNING: Code restructure failed: missing block: B:12:0x00df, code lost:
        if (ek4.y.v((java.lang.String) r0, com.tencent.xweb.ProxyConfig.MATCH_HTTP, false) == false) goto L_0x00e1;
     */
    @Override // androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, com.tencent.mm.ui.component.UIComponentActivity, com.tencent.mm.ui.MMActivity, com.tencent.mm.hellhoundlib.activities.HellActivity, com.tencent.mm.ui.MMFragmentActivity
    public void onCreate(Bundle bundle) {
        supportRequestWindowFeature(109);
        boolean z15 = true;
        customfixStatusbar(true);
        super.onCreate(bundle);
        View findViewById = findViewById(R.id.f361599ei);
        this.f145209g = findViewById;
        if (findViewById != null && h54.d.f224314g) {
            h54.d b15 = h54.d.b(this);
            w2 w2Var = new w2(this);
            this.mStatusBarHeightCallback = w2Var;
            b15.d(w2Var);
            getWindow().getDecorView().requestApplyInsets();
            h54.e.d(getWindow());
        }
        View decorView = getWindow().getDecorView();
        m.f(decorView, "window.decorView");
        decorView.setSystemUiVisibility(1280);
        setMMTitle("");
        hideActionbarLine();
        setActionbarColor(getResources().getColor(R.color.a9e));
        setActionbarElementColor(getContext().getResources().getColor(R.color.FG_0));
        setBackBtn(new f(this));
        supportLightStatusBar();
        a0 a0Var = new a0();
        a0Var.f253280d = true;
        View findViewById2 = findViewById(R.id.cgf);
        m.e(findViewById2, "null cannot be cast to non-null type android.widget.ScrollView");
        ((ScrollView) findViewById2).setOnScrollChangeListener(new g(this, a0Var));
        TextView textView = (TextView) findViewById(R.id.ktw);
        if (textView != null) {
            textView.setOnClickListener(new h(this, textView));
            Object value = ((n) this.f145207e).getValue();
            m.f(value, "<get-exportUrl>(...)");
            if (((String) value).length() != 0) {
                z15 = false;
            }
            if (!z15) {
                Object value2 = ((n) this.f145207e).getValue();
                m.f(value2, "<get-exportUrl>(...)");
            }
            textView.setVisibility(8);
        }
        initView();
        RcptRecentAddrEvent rcptRecentAddrEvent = new RcptRecentAddrEvent();
        rcptRecentAddrEvent.f64045e.f64048a = -1;
        rcptRecentAddrEvent.callback = new i(rcptRecentAddrEvent, this);
        rcptRecentAddrEvent.asyncPublish(Looper.getMainLooper());
        z.d().f(new cl0.c());
    }
}