Skip to content

Commit 284807f

Browse files
committed
Upgrade to 1.0.3
1 parent 1ce9594 commit 284807f

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ apply plugin: 'kotlin-android'
44
apply plugin: 'kotlin-android-extensions'
55

66
group = 'com.kylecorry'
7-
version = '1.0.2'
7+
version = '1.0.3'
88

99
android {
10-
compileSdkVersion 29
10+
compileSdkVersion 30
1111

1212
defaultConfig {
1313
minSdkVersion 23
14-
targetSdkVersion 29
15-
versionCode 3
14+
targetSdkVersion 30
15+
versionCode 4
1616
versionName version
1717

1818
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

app/src/main/java/com/kylecorry/trailsensecore/infrastructure/sensors/gps/SimpleLocationListener.kt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,10 @@ import android.location.LocationListener
55
import android.os.Bundle
66

77
internal class SimpleLocationListener(private val onLocationChangedFn: (location: Location?) -> Unit): LocationListener {
8-
override fun onLocationChanged(location: Location?) {
8+
override fun onLocationChanged(location: Location) {
99
onLocationChangedFn.invoke(location)
1010
}
1111

1212
override fun onStatusChanged(provider: String?, status: Int, extras: Bundle?) {
1313
}
14-
15-
override fun onProviderEnabled(provider: String?) {
16-
}
17-
18-
override fun onProviderDisabled(provider: String?) {
19-
}
2014
}

0 commit comments

Comments
 (0)