research issue where A-GPS data sometimes seems destroyed but not reloaded
This commit is contained in:
parent
b02f2a01b1
commit
bd89843fb5
1 changed files with 3 additions and 0 deletions
|
@ -229,6 +229,9 @@ public class OsmAndLocationProvider implements SensorEventListener {
|
|||
redownloadAGPS();
|
||||
if(agpsDownloaded == true) {
|
||||
app.getSettings().AGPS_DATA_LAST_TIME_DOWNLOADED.set(time);
|
||||
} else {
|
||||
//try catch issue here where A-GPS data sometimes seems destroyed but not reloaded
|
||||
app.getSettings().AGPS_DATA_LAST_TIME_DOWNLOADED.set(0L);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue