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

import android.os.Bundle;
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.plugin.appbrand.jsapi.nfc.hce.b;
import com.tencent.mm.plugin.appbrand.r.h;
import com.tencent.mm.sdk.platformtools.ab;

class HCEEventLogic$SendHCEEventToMMTask extends MainProcessTask {
    public static final Creator<HCEEventLogic$SendHCEEventToMMTask> CREATOR = new 1();
    private String appId;
    private int hRW;
    private Bundle hRX;

    /* synthetic */ HCEEventLogic$SendHCEEventToMMTask(String str, int i, Bundle bundle, byte b) {
        this(str, i, bundle);
    }

    private HCEEventLogic$SendHCEEventToMMTask(String str, int i, Bundle bundle) {
        this.hRW = i;
        this.appId = str;
        this.hRX = bundle;
    }

    protected HCEEventLogic$SendHCEEventToMMTask(Parcel parcel) {
        AppMethodBeat.i(137849);
        g(parcel);
        AppMethodBeat.o(137849);
    }

    public final void asP() {
        AppMethodBeat.i(137850);
        ab.i("MicroMsg.HCEEventLogic", "alvinluo HCEEventLogic SendHCEEventToMMTask runInMainProcess");
        b.hSG.a(this.hRW, this.appId, this.hRX);
        aCb();
        AppMethodBeat.o(137850);
    }

    public final void asQ() {
        AppMethodBeat.i(137851);
        super.asQ();
        h.at(this);
        AppMethodBeat.o(137851);
    }

    public int describeContents() {
        return 0;
    }

    public final void g(Parcel parcel) {
        AppMethodBeat.i(137852);
        super.g(parcel);
        this.hRW = parcel.readInt();
        this.appId = parcel.readString();
        this.hRX = parcel.readBundle();
        AppMethodBeat.o(137852);
    }

    public void writeToParcel(Parcel parcel, int i) {
        AppMethodBeat.i(137853);
        super.writeToParcel(parcel, i);
        parcel.writeInt(this.hRW);
        parcel.writeString(this.appId);
        parcel.writeBundle(this.hRX);
        AppMethodBeat.o(137853);
    }

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