package com.tencent.mm.plugin.collect.model.voice;

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

class a$1 extends c<bf> {
    final /* synthetic */ a kDe;

    a$1(a aVar) {
        this.kDe = aVar;
        AppMethodBeat.i(41003);
        this.xxI = bf.class.getName().hashCode();
        AppMethodBeat.o(41003);
    }

    private boolean a(bf bfVar) {
        AppMethodBeat.i(41004);
        if (bfVar.cus.cut == 60) {
            synchronized (a.a(this.kDe)) {
                try {
                    if (a.kCR) {
                        ab.i("MicroMsg.OfflineVoice.F2fRcvVoiceOffLineLogic", "CheckResUpdateCacheFileEvent OFF_LINE == true");
                    } else {
                        ab.i("MicroMsg.OfflineVoice.F2fRcvVoiceOffLineLogic", "CheckResUpdateCacheFileEvent resTyep:%s subType:%s", new Object[]{Integer.valueOf(bfVar.cus.cut), Integer.valueOf(bfVar.cus.cuu)});
                        if (bfVar.cus.cuu == 1) {
                            e.y(bfVar.cus.filePath, a.kCU);
                        } else if (bfVar.cus.cuu == 2) {
                            e.y(bfVar.cus.filePath, a.kCV);
                        }
                        a.b(this.kDe);
                    }
                } finally {
                    AppMethodBeat.o(41004);
                }
            }
            return false;
        }
        AppMethodBeat.o(41004);
        return false;
    }
}
