Fix backward compatibility #7155
This commit is contained in:
parent
840c520625
commit
851fd6d6da
2 changed files with 5 additions and 4 deletions
|
@ -100,11 +100,11 @@ public class AMapPoint implements Parcelable {
|
|||
out.writeString(shortName);
|
||||
out.writeString(fullName);
|
||||
out.writeString(typeName);
|
||||
out.writeString(layerId);
|
||||
out.writeInt(color);
|
||||
out.writeParcelable(location, flags);
|
||||
out.writeStringList(details);
|
||||
out.writeMap(params);
|
||||
out.writeString(layerId);
|
||||
}
|
||||
|
||||
private void readFromParcel(Parcel in) {
|
||||
|
@ -112,11 +112,11 @@ public class AMapPoint implements Parcelable {
|
|||
shortName = in.readString();
|
||||
fullName = in.readString();
|
||||
typeName = in.readString();
|
||||
layerId = in.readString();
|
||||
color = in.readInt();
|
||||
location = in.readParcelable(ALatLon.class.getClassLoader());
|
||||
in.readStringList(details);
|
||||
in.readMap(params, HashMap.class.getClassLoader());
|
||||
layerId = in.readString();
|
||||
}
|
||||
|
||||
public int describeContents() {
|
||||
|
|
|
@ -100,11 +100,12 @@ public class AMapPoint implements Parcelable {
|
|||
out.writeString(shortName);
|
||||
out.writeString(fullName);
|
||||
out.writeString(typeName);
|
||||
out.writeString(layerId);
|
||||
out.writeInt(color);
|
||||
out.writeParcelable(location, flags);
|
||||
out.writeStringList(details);
|
||||
out.writeMap(params);
|
||||
out.writeString(layerId);
|
||||
|
||||
}
|
||||
|
||||
private void readFromParcel(Parcel in) {
|
||||
|
@ -112,11 +113,11 @@ public class AMapPoint implements Parcelable {
|
|||
shortName = in.readString();
|
||||
fullName = in.readString();
|
||||
typeName = in.readString();
|
||||
layerId = in.readString();
|
||||
color = in.readInt();
|
||||
location = in.readParcelable(ALatLon.class.getClassLoader());
|
||||
in.readStringList(details);
|
||||
in.readMap(params, HashMap.class.getClassLoader());
|
||||
layerId = in.readString();
|
||||
}
|
||||
|
||||
public int describeContents() {
|
||||
|
|
Loading…
Reference in a new issue