kopia lustrzana https://github.com/ge0rg/aprsdroid
Map: only load stations that have a callsign to not crash Google Map
rodzic
c4ddbd8675
commit
f07b40984a
|
@ -49,9 +49,10 @@ trait MapLoaderBase extends MapMenuHelper {
|
|||
val speed = c.getInt(COLUMN_MAP_SPEED)
|
||||
val cse = c.getInt(COLUMN_MAP_CSE)
|
||||
|
||||
s.add(new Station(call, origin, symbol, lat/1000000.0d, lon/1000000.0d,
|
||||
qrg, comment, speed, cse,
|
||||
null))
|
||||
if (call != null && !call.isEmpty)
|
||||
s.add(new Station(call, origin, symbol, lat/1000000.0d, lon/1000000.0d,
|
||||
qrg, comment, speed, cse,
|
||||
null))
|
||||
c.moveToNext()
|
||||
}
|
||||
c.close()
|
||||
|
|
Ładowanie…
Reference in New Issue