Fix travel in free version
This commit is contained in:
parent
c808f102a3
commit
09f94a8848
1 changed files with 0 additions and 4 deletions
|
@ -292,10 +292,6 @@ public class DownloadActivityType {
|
||||||
|
|
||||||
|
|
||||||
public IndexItem parseIndexItem(OsmandApplication ctx, XmlPullParser parser) {
|
public IndexItem parseIndexItem(OsmandApplication ctx, XmlPullParser parser) {
|
||||||
if (TRAVEL_FILE == this && !Version.isDeveloperVersion(ctx)) {
|
|
||||||
//todo remove "if" when .travel.obf will be used in production
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
String name = parser.getAttributeValue(null, "name"); //$NON-NLS-1$
|
String name = parser.getAttributeValue(null, "name"); //$NON-NLS-1$
|
||||||
if (!isAccepted(name)) {
|
if (!isAccepted(name)) {
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in a new issue