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

import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.sight.decode.ui.c;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.vfs.e;

class ak$2 implements OnClickListener {
    final /* synthetic */ ak rnA;

    ak$2(ak akVar) {
        this.rnA = akVar;
    }

    public final void onClick(View view) {
        AppMethodBeat.i(38599);
        if (e.ct(this.rnA.videoPath)) {
            if (this.rnA.rnz != null) {
                this.rnA.rnz.dismiss();
                this.rnA.rnz = null;
            }
            this.rnA.rnz = new c(this.rnA.crP);
            c cVar = this.rnA.rnz;
            String str = this.rnA.videoPath;
            String str2 = this.rnA.thumbPath;
            cVar.ePJ = str;
            cVar.imagePath = str2;
            cVar = this.rnA.rnz;
            cVar.cPL = 0;
            cVar.qxZ = 0;
            cVar.mik = 1;
            this.rnA.rnz.show();
            AppMethodBeat.o(38599);
            return;
        }
        ab.i("MicroMsg.SightWidget", "click videopath is not exist " + this.rnA.videoPath);
        AppMethodBeat.o(38599);
    }
}
