- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
55 lines
1.5 KiB
Java
55 lines
1.5 KiB
Java
package com.bda.controller;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class StateEvent extends BaseEvent implements Parcelable {
|
|
public static final Parcelable.Creator<StateEvent> CREATOR = new ParcelableCreator();
|
|
public final int mAction;
|
|
public final int mState;
|
|
|
|
@Override // com.bda.controller.BaseEvent, android.os.Parcelable
|
|
public int describeContents() {
|
|
return 0;
|
|
}
|
|
|
|
public final int getAction() {
|
|
return this.mAction;
|
|
}
|
|
|
|
@Override // com.bda.controller.BaseEvent
|
|
public /* bridge */ /* synthetic */ int getControllerId() {
|
|
return super.getControllerId();
|
|
}
|
|
|
|
public final int getState() {
|
|
return this.mState;
|
|
}
|
|
|
|
public StateEvent(Parcel parcel) {
|
|
super(parcel);
|
|
this.mState = parcel.readInt();
|
|
this.mAction = parcel.readInt();
|
|
}
|
|
|
|
@Override // com.bda.controller.BaseEvent, android.os.Parcelable
|
|
public void writeToParcel(Parcel parcel, int i) {
|
|
super.writeToParcel(parcel, i);
|
|
parcel.writeInt(this.mState);
|
|
parcel.writeInt(this.mAction);
|
|
}
|
|
|
|
public static class ParcelableCreator implements Parcelable.Creator {
|
|
@Override // android.os.Parcelable.Creator
|
|
public StateEvent createFromParcel(Parcel parcel) {
|
|
return new StateEvent(parcel);
|
|
}
|
|
|
|
@Override // android.os.Parcelable.Creator
|
|
public StateEvent[] newArray(int i) {
|
|
return new StateEvent[i];
|
|
}
|
|
}
|
|
}
|