commit | a2c99066e34a781d7f6ced3a378060ae89c8d295 | [log] [tgz] |
---|---|---|
author | Luca Stefani <luca.stefani.ge1@gmail.com> | Sat Aug 13 17:42:05 2022 +0200 |
committer | LuK1337 <priv.luk@gmail.com> | Thu Sep 29 22:28:28 2022 +0200 |
tree | 9f0858253ed21ca556630ae6df475e4df877d720 | |
parent | 7761c84cde1dc581127f0713bd35971a7303812d [diff] |
Aperture: Request location updates for changes >1m Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com> Change-Id: Ie753e933f0187545ec99401aa1687d01b1060704
diff --git a/app/src/main/java/org/lineageos/aperture/MainActivity.kt b/app/src/main/java/org/lineageos/aperture/MainActivity.kt index b1721a8..5e5b839 100644 --- a/app/src/main/java/org/lineageos/aperture/MainActivity.kt +++ b/app/src/main/java/org/lineageos/aperture/MainActivity.kt
@@ -163,7 +163,7 @@ if (allLocationPermissionsGranted() && sharedPreferences.saveLocation) { // Request location updates locationManager.allProviders.forEach { - locationManager.requestLocationUpdates(it, 1000, 0f, this) + locationManager.requestLocationUpdates(it, 1000, 1f, this) } } }