Fix AMapPoint backward compatibility

This commit is contained in:
crimean 2019-07-06 19:49:20 +03:00
parent d748e71b4c
commit ed76ed4040
2 changed files with 4 additions and 4 deletions

View file

@ -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() {

View file

@ -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() {