package com.seewo.adbcommons.model;

import android.os.Parcel;
import android.os.Parcelable;
import com.seewo.adbcommons.model.base.BaseCmdMsg;
import com.seewo.adbcommons.model.base.BaseCmdMsgRemote;

/* JADX INFO: loaded from: classes.dex */
public class CmdChannelEvent extends BaseCmdMsgRemote {
    public static final Parcelable.Creator<CmdChannelEvent> CREATOR = new Parcelable.Creator<CmdChannelEvent>() { // from class: com.seewo.adbcommons.model.CmdChannelEvent.1
        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public CmdChannelEvent createFromParcel(Parcel parcel) {
            return new CmdChannelEvent(parcel);
        }

        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public CmdChannelEvent[] newArray(int i2) {
            return new CmdChannelEvent[i2];
        }
    };
    public String mCurrentSource;

    public CmdChannelEvent() {
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    @Override // com.seewo.adbcommons.model.base.BaseCmdMsg
    protected int getActionIDFromChild() {
        return 115;
    }

    @Override // com.seewo.adbcommons.model.base.BaseCmdMsg
    protected void handleDecode(BaseCmdMsg baseCmdMsg) {
        if (baseCmdMsg instanceof CmdChannelEvent) {
            this.mCurrentSource = ((CmdChannelEvent) baseCmdMsg).mCurrentSource;
        }
    }

    @Override // com.seewo.adbcommons.model.base.BaseCmdMsg
    public String toString() {
        return "CmdChannelEvent---mCurrentSource: " + this.mCurrentSource;
    }

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel parcel, int i2) {
        parcel.writeString(this.mCurrentSource);
    }

    public CmdChannelEvent(String str) {
        this.mCurrentSource = str;
    }

    protected CmdChannelEvent(Parcel parcel) {
        this.mCurrentSource = parcel.readString();
    }
}
