From 9119d954fb043849da75d7802234992d566e9ae4 Mon Sep 17 00:00:00 2001 From: Georg Lukas Date: Wed, 13 Apr 2011 02:32:08 +0200 Subject: [PATCH] reduce verbosity --- src/AprsService.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AprsService.scala b/src/AprsService.scala index 33b7295..1d37742 100644 --- a/src/AprsService.scala +++ b/src/AprsService.scala @@ -183,12 +183,12 @@ class AprsService extends Service with LocationListener { override def onLocationChanged(location : Location) { val upd_int = prefs.getStringInt("interval", 10) * 60000 val upd_dist = prefs.getStringInt("distance", 10) * 1000 - Log.d(TAG, "onLocationChanged: n=" + location) - Log.d(TAG, "onLocationChanged: l=" + lastLoc) + //Log.d(TAG, "onLocationChanged: n=" + location) + //Log.d(TAG, "onLocationChanged: l=" + lastLoc) if (lastLoc != null && (location.getTime - lastLoc.getTime < (upd_int - getGpsInterval()) || location.distanceTo(lastLoc) < upd_dist)) { - Log.d(TAG, "onLocationChanged: ignoring premature location") + //Log.d(TAG, "onLocationChanged: ignoring premature location") return } // check if we need to go fast lane