This keeps the code consistent, provides a single common method for setting
up URLConnections, and allows the proxy support to work on all network
connections.
NetworkUtils.getHttpURLConnection() provides a common method for creating
HttpUrlConnection instances from URLs. That's where the proxy config
happens. If you can think of a better way to add proxy support, I'm all
ears. This is the best that we've found in our proxy work at Guardian
Project.
this is a follow up on https://github.com/osmandapp/osmand/pull/1043
Changed loading tiles to sqlitedb when using "Download map" from context menu. Before now in such cases tiles were saved just in files in TEMP folder
Changed saving tiles directly to sqlitedb when browsing new area. efore now in such cases temp files were used.