Skip to content

Commit 0cb8c44

Browse files
committed
fix: suppress empty function block
1 parent bba2c23 commit 0cb8c44

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/src/main/kotlin/org/fossify/camera/helpers/SimpleLocationManager.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ class SimpleLocationManager(private val activity: BaseSimpleActivity) {
1919
private var location: Location? = null
2020

2121
private val locationManager = activity.getSystemService(LocationManager::class.java)!!
22+
23+
@Suppress("EmptyFunctionBlock")
2224
private val locationListener = object: LocationListener {
2325
override fun onLocationChanged(location: Location) {
2426
this@SimpleLocationManager.location = location

0 commit comments

Comments
 (0)