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

import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.account.bind.ui.BindMContactUI;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.bo;
import com.tencent.mm.ui.base.h;
import com.tencent.ytcommon.BuildConfig;

class RegByMobileSetPwdUI$1 implements OnClickListener {
    final /* synthetic */ RegByMobileSetPwdUI gGK;

    RegByMobileSetPwdUI$1(RegByMobileSetPwdUI regByMobileSetPwdUI) {
        this.gGK = regByMobileSetPwdUI;
    }

    public final void onClick(View view) {
        AppMethodBeat.i(125438);
        String str = (String) g.RP().Ry().get(6, null);
        if (bo.isNullOrNil(str)) {
            ab.i("MicorMsg.RegByMobileSetPwdUI", "has not bind mobile");
            Intent intent = new Intent(this.gGK, BindMContactUI.class);
            intent.putExtra("bind_scene", 4);
            h.a(this.gGK, this.gGK.getString(2131302295), BuildConfig.FLAVOR, this.gGK.getString(2131297625), this.gGK.getString(2131296868), true, new 1(this, intent), null);
            AppMethodBeat.o(125438);
            return;
        }
        ab.i("MicorMsg.RegByMobileSetPwdUI", "has bind mobile");
        h.a(this.gGK, this.gGK.getString(2131302293, new Object[]{str}), BuildConfig.FLAVOR, this.gGK.getString(2131297041), this.gGK.getString(2131296868), true, new 2(this, str), null);
        AppMethodBeat.o(125438);
    }
}
