Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
1fc0090151
2 changed files with 1 additions and 5 deletions
|
@ -119,7 +119,7 @@ public class MapContextMenu {
|
|||
Amenity a = (Amenity) object;
|
||||
if (a.getSubType() != null && a.getType() != null) {
|
||||
PoiType pt = a.getType().getPoiTypeByKeyName(a.getSubType());
|
||||
if (pt != null && pt.getOsmTag().equals("place")) {
|
||||
if (pt != null && pt.getOsmTag() != null && pt.getOsmTag().equals("place")) {
|
||||
res = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,9 +6,7 @@ import android.content.DialogInterface;
|
|||
import android.content.res.Resources;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.widget.Toast;
|
||||
|
||||
import net.osmand.access.AccessibleToast;
|
||||
import net.osmand.data.FavouritePoint;
|
||||
import net.osmand.plus.FavouritesDbHelper;
|
||||
import net.osmand.plus.OsmandApplication;
|
||||
|
@ -16,8 +14,6 @@ import net.osmand.plus.R;
|
|||
import net.osmand.plus.activities.MapActivity;
|
||||
import net.osmand.plus.base.FavoriteImageDrawable;
|
||||
|
||||
import java.text.MessageFormat;
|
||||
|
||||
public class FavoritePointEditorFragment extends PointEditorFragment {
|
||||
|
||||
private FavoritePointEditor editor;
|
||||
|
|
Loading…
Reference in a new issue