From 56893b0d888df7704f8dc48b11ce096f41db3c15 Mon Sep 17 00:00:00 2001 From: A Shuai Date: Tue, 17 Aug 2021 23:52:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DEntity=E4=BD=BF?= =?UTF-8?q?=E7=94=A8Parcel=E5=BA=8F=E5=88=97=E5=8C=96=E6=97=B6=E4=B8=A2?= =?UTF-8?q?=E5=A4=B1rowId=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/arialyy/aria/core/common/AbsEntity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PublicComponent/src/main/java/com/arialyy/aria/core/common/AbsEntity.java b/PublicComponent/src/main/java/com/arialyy/aria/core/common/AbsEntity.java index 653a8562..81954d99 100644 --- a/PublicComponent/src/main/java/com/arialyy/aria/core/common/AbsEntity.java +++ b/PublicComponent/src/main/java/com/arialyy/aria/core/common/AbsEntity.java @@ -234,6 +234,7 @@ public abstract class AbsEntity extends DbEntity implements IEntity, Parcelable, } @Override public void writeToParcel(Parcel dest, int flags) { + dest.writeLong(this.rowID); dest.writeLong(this.speed); dest.writeString(this.convertSpeed); dest.writeInt(this.failNum); @@ -249,6 +250,7 @@ public abstract class AbsEntity extends DbEntity implements IEntity, Parcelable, } protected AbsEntity(Parcel in) { + this.rowID = in.readLong(); this.speed = in.readLong(); this.convertSpeed = in.readString(); this.failNum = in.readInt();