Update map markers params
This commit is contained in:
parent
ab9167122e
commit
5b9d3cc126
4 changed files with 43 additions and 8 deletions
|
@ -192,12 +192,6 @@ public class Postcode {
|
|||
String res = matcher.replaceAll(replacement);
|
||||
if (res != null) {
|
||||
result = res.replaceAll("null", "");
|
||||
if (!result.equals(postcode)) {
|
||||
log.info("Normalize " + country + "'s postcode: " + postcode + " -> " + result);
|
||||
}
|
||||
if (!matcher.matches()) {
|
||||
log.info("Not matches " + country + "'s postcode regex: " + postcode);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -826,7 +826,8 @@ interface IOsmAndAidlInterface {
|
|||
long registerForVoiceRouterMessages(in ANavigationVoiceRouterMessageParams params, IOsmAndAidlCallback callback);
|
||||
|
||||
/**
|
||||
* Remove all map markers.
|
||||
* Removes all active map markers (marks them as passed and moves to history)
|
||||
* Empty class of params
|
||||
*/
|
||||
boolean removeAllMapMarkers();
|
||||
boolean removeAllActiveMapMarkers(in RemoveMapMarkersParams);
|
||||
}
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
package net.osmand.aidl.mapmarker;
|
||||
|
||||
parcelable RemoveMapMarkerParams;
|
|
@ -0,0 +1,37 @@
|
|||
package net.osmand.aidl.mapmarker;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class RemoveMapMarkersParams implements Parcelable {
|
||||
|
||||
|
||||
public RemoveMapMarkersParams() {
|
||||
}
|
||||
|
||||
public RemoveMapMarkersParams(Parcel in) {
|
||||
readFromParcel(in);
|
||||
}
|
||||
|
||||
public static final Creator<RemoveMapMarkersParams> CREATOR = new
|
||||
Creator<RemoveMapMarkersParams>() {
|
||||
public RemoveMapMarkersParams createFromParcel(Parcel in) {
|
||||
return new RemoveMapMarkersParams(in);
|
||||
}
|
||||
|
||||
public RemoveMapMarkersParams[] newArray(int size) {
|
||||
return new RemoveMapMarkersParams[size];
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
public void writeToParcel(Parcel out, int flags) {
|
||||
}
|
||||
|
||||
private void readFromParcel(Parcel in) {
|
||||
}
|
||||
|
||||
public int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue