bugfix - OsmAnd Live reporting that there is no update available. #6201

This commit is contained in:
madwasp79 2019-01-30 13:59:43 +02:00
parent 90e14cc691
commit c634526458

View file

@ -299,6 +299,7 @@ public class IncrementalChangesManager {
XmlPullParserException {
String url = URL + "?aosmc=true&timestamp=" + timestamp + "&file=" + URLEncoder.encode(file);
HttpURLConnection conn = NetworkUtils.getHttpURLConnection(url);
conn.setUseCaches(false);
XmlPullParser parser = PlatformUtil.newXMLPullParser();
parser.setInput(conn.getInputStream(), "UTF-8");
List<IncrementalUpdate> lst = new ArrayList<IncrementalUpdate>();