Skip to content

Commit 3db83d6

Browse files
committed
chore: Remove unnecessary @Inject annotation
1 parent 75e0619 commit 3db83d6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

complete/src/main/java/com/example/android/whileinuselocation/data/SharedLocationManager.kt

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import kotlinx.coroutines.ExperimentalCoroutinesApi
2929
import kotlinx.coroutines.channels.awaitClose
3030
import kotlinx.coroutines.flow.*
3131
import java.util.concurrent.TimeUnit
32-
import javax.inject.Inject
3332

3433
private const val TAG = "SharedLocationManager"
3534

@@ -39,7 +38,7 @@ private const val TAG = "SharedLocationManager"
3938
* Derived in part from https://github.com/android/location-samples/blob/main/LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/data/MyLocationManager.kt
4039
* and https://github.com/googlecodelabs/kotlin-coroutines/blob/master/ktx-library-codelab/step-06/myktxlibrary/src/main/java/com/example/android/myktxlibrary/LocationUtils.kt
4140
*/
42-
class SharedLocationManager @Inject constructor(
41+
class SharedLocationManager constructor(
4342
private val context: Context,
4443
externalScope: CoroutineScope
4544
) {

0 commit comments

Comments
 (0)