bugfix - OsmAnd Live reporting that there is no update available. #6201
This commit is contained in:
parent
90e14cc691
commit
c634526458
1 changed files with 1 additions and 0 deletions
|
@ -299,6 +299,7 @@ public class IncrementalChangesManager {
|
||||||
XmlPullParserException {
|
XmlPullParserException {
|
||||||
String url = URL + "?aosmc=true×tamp=" + timestamp + "&file=" + URLEncoder.encode(file);
|
String url = URL + "?aosmc=true×tamp=" + timestamp + "&file=" + URLEncoder.encode(file);
|
||||||
HttpURLConnection conn = NetworkUtils.getHttpURLConnection(url);
|
HttpURLConnection conn = NetworkUtils.getHttpURLConnection(url);
|
||||||
|
conn.setUseCaches(false);
|
||||||
XmlPullParser parser = PlatformUtil.newXMLPullParser();
|
XmlPullParser parser = PlatformUtil.newXMLPullParser();
|
||||||
parser.setInput(conn.getInputStream(), "UTF-8");
|
parser.setInput(conn.getInputStream(), "UTF-8");
|
||||||
List<IncrementalUpdate> lst = new ArrayList<IncrementalUpdate>();
|
List<IncrementalUpdate> lst = new ArrayList<IncrementalUpdate>();
|
||||||
|
|
Loading…
Reference in a new issue