package com.tencent.mm.plugin.appbrand.jsapi;

import android.os.Parcel;
import android.os.Parcelable.Creator;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.appbrand.ipc.MainProcessTask;
import com.tencent.mm.sdk.b.a;
import com.tencent.mm.sdk.b.c;
import com.tencent.mm.sdk.platformtools.ab;

class JsApiAddNativeDownloadTask$AddNativeDownloadTaskTask extends MainProcessTask {
    public static final Creator<JsApiAddNativeDownloadTask$AddNativeDownloadTaskTask> CREATOR = new 2();
    public int bJt = 0;
    public long crZ = 0;
    private c hwv;
    Runnable hww;

    static /* synthetic */ boolean a(JsApiAddNativeDownloadTask$AddNativeDownloadTaskTask jsApiAddNativeDownloadTask$AddNativeDownloadTaskTask) {
        AppMethodBeat.i(130386);
        boolean aCb = jsApiAddNativeDownloadTask$AddNativeDownloadTaskTask.aCb();
        AppMethodBeat.o(130386);
        return aCb;
    }

    static /* synthetic */ boolean b(JsApiAddNativeDownloadTask$AddNativeDownloadTaskTask jsApiAddNativeDownloadTask$AddNativeDownloadTaskTask) {
        AppMethodBeat.i(130387);
        boolean aCb = jsApiAddNativeDownloadTask$AddNativeDownloadTaskTask.aCb();
        AppMethodBeat.o(130387);
        return aCb;
    }

    static /* synthetic */ boolean c(JsApiAddNativeDownloadTask$AddNativeDownloadTaskTask jsApiAddNativeDownloadTask$AddNativeDownloadTaskTask) {
        AppMethodBeat.i(130388);
        boolean aCb = jsApiAddNativeDownloadTask$AddNativeDownloadTaskTask.aCb();
        AppMethodBeat.o(130388);
        return aCb;
    }

    public final void asP() {
        AppMethodBeat.i(130382);
        ab.i("MicroMsg.JsApiAddNativeDownloadTask", "runInMainProcess flag:%d", new Object[]{Integer.valueOf(this.bJt)});
        this.hwv = new 1(this);
        a.xxA.b(this.hwv);
        AppMethodBeat.o(130382);
    }

    public final void asQ() {
        AppMethodBeat.i(130383);
        if (this.hww != null) {
            this.hww.run();
        }
        AppMethodBeat.o(130383);
    }

    public final void g(Parcel parcel) {
        AppMethodBeat.i(130384);
        this.bJt = parcel.readInt();
        this.crZ = parcel.readLong();
        AppMethodBeat.o(130384);
    }

    public void writeToParcel(Parcel parcel, int i) {
        AppMethodBeat.i(130385);
        parcel.writeInt(this.bJt);
        parcel.writeLong(this.crZ);
        AppMethodBeat.o(130385);
    }

    static {
        AppMethodBeat.i(130389);
        AppMethodBeat.o(130389);
    }
}
