Fix crash
This commit is contained in:
parent
f8e6c4817a
commit
8627391c4f
1 changed files with 1 additions and 1 deletions
|
@ -568,7 +568,7 @@ public class MapRenderingTypes {
|
|||
|
||||
protected void parseCategoryFromXml(XmlPullParser parser, String poiParentCategory, String poiParentPrefix) {
|
||||
String poi_tag = parser.getAttributeValue("","poi_tag");
|
||||
if (poi_tag != null) {
|
||||
if (poi_tag != null && poiParentCategory.length() > 0) {
|
||||
MapRulType rtype = new MapRulType();
|
||||
rtype.poiCategory = AmenityType.getAndRegisterType(poiParentCategory);
|
||||
rtype.poiSpecified = true;
|
||||
|
|
Loading…
Reference in a new issue