diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/model/Account.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/model/Account.kt index 7346043fa..65fca25f6 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/model/Account.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/model/Account.kt @@ -567,15 +567,12 @@ class Account( location: Location?, ): LiveFollowList? = if (listName == GLOBAL_FOLLOWS) { - println("AABBCC combinePeopleList $listName Global $listName") null } else if (listName == KIND3_FOLLOWS) { - println("AABBCC combinePeopleList $listName Kind3 $kind3") kind3 } else if (listName == AROUND_ME) { val hash = location?.toGeoHash(com.vitorpamplona.amethyst.ui.actions.GeohashPrecision.KM_5_X_5.digits) if (hash != null) { - println("AABBCC combinePeopleList AROUND ME Started $listName Kind3 $kind3") // 2 neighbors deep = 25x25km val hashes = listOf(hash.toString()) + @@ -584,8 +581,6 @@ class Account( .flatten() .distinct() - println("AABBCC combinePeopleList AROUND ME Finished $listName Kind3 $kind3") - LiveFollowList( authorsPlusMe = setOf(signer.pubKey), geotags = hashes.toSet(), @@ -595,7 +590,6 @@ class Account( } } else { val peopleList = noteState.note.event as? GeneralListEvent - println("AABBCC combinePeopleList $listName General List ${noteState.note.idHex}") if (peopleList != null) { waitToDecrypt(peopleList) ?: LiveFollowList(authorsPlusMe = setOf(signer.pubKey)) } else { diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/service/LocationState.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/service/LocationState.kt index 7b2a41d81..aa367873a 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/service/LocationState.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/service/LocationState.kt @@ -27,6 +27,7 @@ import android.location.Location import android.location.LocationListener import android.location.LocationManager import android.os.Looper +import android.util.Log import android.util.LruCache import com.fonfon.kgeohash.toGeoHash import com.vitorpamplona.amethyst.service.LocationState.Companion.MIN_DISTANCE @@ -64,7 +65,7 @@ class LocationFlow( override fun onProviderDisabled(provider: String) {} } - println("AABBCC LocationState Start") + Log.d("Location Service", "LocationState Start") locationManager.requestLocationUpdates( LocationManager.NETWORK_PROVIDER, minTimeMs, @@ -75,7 +76,7 @@ class LocationFlow( awaitClose { locationManager.removeUpdates(locationCallback) - println("AABBCC LocationState Stop") + Log.d("Location Service", "LocationState Stop") } } }