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

import android.content.Intent;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.k;
import com.tencent.mm.ui.base.h;
import com.tencent.mm.vfs.e;

class OfflineVideoView$3 implements Runnable {
    final /* synthetic */ String mqo;
    final /* synthetic */ OfflineVideoView rld;

    OfflineVideoView$3(OfflineVideoView offlineVideoView, String str) {
        this.rld = offlineVideoView;
        this.mqo = str;
    }

    public final void run() {
        AppMethodBeat.i(38362);
        Intent intent = new Intent();
        intent.setAction("android.intent.action.VIEW");
        k.a(this.rld.getContext(), intent, e.asY(this.mqo), "video/*");
        try {
            this.rld.getContext().startActivity(intent);
            AppMethodBeat.o(38362);
        } catch (Exception e) {
            ab.e("MicroMsg.OfflineVideoView", "startActivity fail, activity not found");
            h.g(this.rld.getContext(), 2131299668, 2131299669);
            AppMethodBeat.o(38362);
        }
    }
}
