Fixes
This commit is contained in:
parent
7af83c12f8
commit
06a9c19478
4 changed files with 9 additions and 3 deletions
|
@ -1893,6 +1893,7 @@ public class OsmandSettings {
|
|||
if (ps.size() > index) {
|
||||
ps.set(index, latLonNew);
|
||||
}
|
||||
<<<<<<< 56c73430b940b4690ba7ddd2da9f14c234fc0155
|
||||
ds.set(index, PointDescription.serializeToString(historyDescription));
|
||||
if (cs.size() > index) {
|
||||
cs.set(index, colorIndex);
|
||||
|
@ -1908,6 +1909,8 @@ public class OsmandSettings {
|
|||
double lon = latLonNew.getLongitude();
|
||||
SearchHistoryHelper.getInstance(ctx).addNewItemToHistory(lat, lon, historyDescription);
|
||||
}
|
||||
=======
|
||||
>>>>>>> Fixes
|
||||
return savePoints(ps, ds, cs, ns, bs);
|
||||
} else {
|
||||
return false;
|
||||
|
|
|
@ -537,7 +537,8 @@ public class ContextMenuLayer extends OsmandMapLayer {
|
|||
|
||||
boolean isObjectMovable(Object o);
|
||||
|
||||
void applyNewObjectPosition(@NonNull Object o, @NonNull LatLon position,
|
||||
void applyNewObjectPosition(@NonNull Object o,
|
||||
@NonNull LatLon position,
|
||||
@Nullable ApplyMovedObjectCallback callback);
|
||||
}
|
||||
|
||||
|
|
|
@ -246,7 +246,8 @@ public class FavouritesLayer extends OsmandMapLayer implements ContextMenuLayer.
|
|||
}
|
||||
|
||||
@Override
|
||||
public void applyNewObjectPosition(@NonNull Object o, @NonNull LatLon position,
|
||||
public void applyNewObjectPosition(@NonNull Object o,
|
||||
@NonNull LatLon position,
|
||||
@Nullable ApplyMovedObjectCallback callback) {
|
||||
boolean result = false;
|
||||
if (o instanceof FavouritePoint) {
|
||||
|
|
|
@ -205,7 +205,8 @@ public class ImpassableRoadsLayer extends OsmandMapLayer implements
|
|||
}
|
||||
|
||||
@Override
|
||||
public void applyNewObjectPosition(@NonNull Object o, @NonNull LatLon position,
|
||||
public void applyNewObjectPosition(@NonNull Object o,
|
||||
@NonNull LatLon position,
|
||||
@Nullable final ApplyMovedObjectCallback callback) {
|
||||
if (o instanceof RouteDataObject) {
|
||||
final RouteDataObject object = (RouteDataObject) o;
|
||||
|
|
Loading…
Reference in a new issue