mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
remove play services
This commit is contained in:
parent
f282f3f71e
commit
188d1fddaa
8 changed files with 34 additions and 243 deletions
|
|
@ -9,7 +9,6 @@ import androidx.core.content.edit
|
|||
import com.geeksville.mesh.analytics.DataPair
|
||||
import com.geeksville.mesh.android.GeeksvilleApplication
|
||||
import com.geeksville.mesh.android.Logging
|
||||
import com.geeksville.mesh.android.isGooglePlayAvailable
|
||||
import com.geeksville.mesh.concurrent.handledLaunch
|
||||
import com.geeksville.mesh.*
|
||||
import com.geeksville.mesh.MeshProtos.MeshPacket
|
||||
|
|
@ -153,7 +152,7 @@ class MeshService : Service(), Logging {
|
|||
// If we're already observing updates, don't register again
|
||||
if (locationFlow?.isActive == true) return
|
||||
|
||||
if (hasBackgroundPermission() && isGooglePlayAvailable(this)) {
|
||||
if (hasBackgroundPermission()) {
|
||||
locationFlow = locationRepository.getLocations()
|
||||
.onEach { location ->
|
||||
sendPosition(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue