package com.tencent.mm.chatroom.ui;

import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.ai.m;
import com.tencent.mm.kernel.g;
import com.tencent.mm.model.t;
import com.tencent.mm.openim.b.p;
import com.tencent.mm.ui.base.h;

class TransferRoomOwnerUI$1 implements OnClickListener {
    final /* synthetic */ String eiH;
    final /* synthetic */ TransferRoomOwnerUI eoh;

    TransferRoomOwnerUI$1(TransferRoomOwnerUI transferRoomOwnerUI, String str) {
        this.eoh = transferRoomOwnerUI;
        this.eiH = str;
    }

    public final void onClick(DialogInterface dialogInterface, int i) {
        m pVar;
        AppMethodBeat.i(104462);
        if (t.mP(this.eoh.ejD)) {
            pVar = new p(this.eoh.ejD, this.eiH);
        } else {
            pVar = new com.tencent.mm.chatroom.c.p(this.eoh.ejD, this.eiH);
        }
        g.RO().eJo.a(pVar, 0);
        TransferRoomOwnerUI transferRoomOwnerUI = this.eoh;
        TransferRoomOwnerUI transferRoomOwnerUI2 = this.eoh;
        this.eoh.getString(2131297061);
        TransferRoomOwnerUI.a(transferRoomOwnerUI, h.b(transferRoomOwnerUI2, this.eoh.getString(2131302640), false, null));
        AppMethodBeat.o(104462);
    }
}
