Fix bug with osm bug layer
This commit is contained in:
parent
7878844e1f
commit
c6e8e1c5c9
1 changed files with 3 additions and 1 deletions
|
@ -214,7 +214,9 @@ public class OsmBugsLayer extends OsmandMapLayer implements IContextMenuProvider
|
|||
}
|
||||
|
||||
public void clearCache() {
|
||||
data.clearCache();
|
||||
if(data != null) {
|
||||
data.clearCache();
|
||||
}
|
||||
}
|
||||
|
||||
private static String readText(XmlPullParser parser, String key) throws XmlPullParserException, IOException {
|
||||
|
|
Loading…
Reference in a new issue