~ge0rg/aprsdroid/master

« back to all changes in this revision

Viewing changes to src/location/SmartBeaconing.scala

  • Committer: Georg Lukas
  • Date: 2012-02-08 17:24:00 UTC
  • Revision ID: git-v1:b002b9f0c366013baf2a43232fa06c2424674ff5
use 'best provider' instead of hardcoded GPS

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
        def start(singleShot : Boolean) = {
18
18
                lastLoc = null
19
19
                stop()
20
 
                locMan.requestLocationUpdates(LocationManager.GPS_PROVIDER,
 
20
                locMan.requestLocationUpdates(PeriodicGPS.bestProvider(locMan),
21
21
                        0, 0, this)
22
22
                service.getString(R.string.p_source_smart)
23
23
        }