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

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.g.a.qt;
import com.tencent.mm.sdk.b.b;
import com.tencent.mm.sdk.b.c;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.vfs.e;

class ak$1 extends c<qt> {
    final /* synthetic */ ak rnA;

    ak$1(ak akVar) {
        this.rnA = akVar;
        AppMethodBeat.i(38597);
        this.xxI = qt.class.getName().hashCode();
        AppMethodBeat.o(38597);
    }

    public final /* synthetic */ boolean a(b bVar) {
        AppMethodBeat.i(38598);
        qt qtVar = (qt) bVar;
        ab.i("MicroMsg.SightWidget", "on sight send result callback, type %d", new Object[]{Integer.valueOf(qtVar.cMT.type)});
        switch (qtVar.cMT.type) {
            case 1:
                ab.i("MicroMsg.SightWidget", "come event done");
                this.rnA.videoPath = qtVar.cMT.videoPath;
                this.rnA.cvZ = qtVar.cMT.cMW;
                if (this.rnA.ehJ != null) {
                    this.rnA.ehJ.dismiss();
                }
                this.rnA.rny.bf(this.rnA.videoPath, false);
                this.rnA.progressBar.setVisibility(8);
                if (qtVar.cMT.cMV && this.rnA.rkO != null) {
                    this.rnA.csv();
                }
                ab.i("MicroMsg.SightWidget", "mux finish %B videoPath %s %d md5 %s", new Object[]{Boolean.valueOf(qtVar.cMT.cMV), qtVar.cMT.videoPath, Long.valueOf(e.asZ(qtVar.cMT.videoPath)), this.rnA.cvZ});
                break;
        }
        AppMethodBeat.o(38598);
        return false;
    }
}
