fixed FC string/int mismatch

remotes/nogy/update_90
Georg Lukas 2010-01-08 13:19:31 +01:00
rodzic 73bc9a061d
commit 757bfd0b77
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -32,8 +32,8 @@ class AprsService extends Service with LocationListener {
super.onStart(i, startId)
running = true
val upd_int = prefs.getInt("interval", 10)
val upd_dist = prefs.getInt("distance", 10)
val upd_int = prefs.getString("interval", "10").toInt
val upd_dist = prefs.getString("distance", "10").toInt
locMan.requestLocationUpdates(LocationManager.GPS_PROVIDER,
upd_int * 60000, upd_dist * 1000, this)