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

import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.az.d;
import com.tencent.mm.az.f;
import com.tencent.mm.model.aw;
import com.tencent.mm.model.bf;
import com.tencent.mm.model.c;
import com.tencent.mm.plugin.bottle.a;
import com.tencent.mm.plugin.bottle.a.b;
import com.tencent.mm.storage.bi;
import com.tencent.mm.ui.base.h;

class BottleConversationUI$2 implements OnClickListener {
    final /* synthetic */ String ewn;
    final /* synthetic */ BottleConversationUI jKb;

    BottleConversationUI$2(BottleConversationUI bottleConversationUI, String str) {
        this.jKb = bottleConversationUI;
        this.ewn = str;
    }

    public final void onClick(DialogInterface dialogInterface, int i) {
        AppMethodBeat.i(18557);
        aw.ZK();
        bi Ra = c.XO().Ra(this.ewn);
        aw.ZK();
        c.XL().c(new d(this.ewn, Ra.field_msgSvrId));
        aw.ZK();
        c.XL().c(new f(this.ewn));
        a.gkF.BS();
        BottleConversationUI.a(this.jKb, false);
        BottleConversationUI bottleConversationUI = this.jKb;
        BottleConversationUI bottleConversationUI2 = this.jKb;
        this.jKb.getString(2131297061);
        BottleConversationUI.a(bottleConversationUI, h.b(bottleConversationUI2, this.jKb.getString(2131297086), true, new 1(this)));
        bf.a(this.ewn, new 2(this));
        aw.ZK();
        c.XR().aoX(this.ewn);
        b aVM = com.tencent.mm.plugin.bottle.a.d.aVM();
        String Fz = com.tencent.mm.plugin.bottle.a.c.Fz(this.ewn);
        aVM.fni.delete("bottleinfo1", "bottleid= ?", new String[]{String.valueOf(Fz)});
        a.gkF.BS();
        AppMethodBeat.o(18557);
    }
}
