You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: complete/src/main/java/com/example/android/whileinuselocation/data/SharedLocationManager.kt
+2
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,8 @@ import javax.inject.Inject
34
34
privateconstvalTAG="SharedLocationManager"
35
35
36
36
/**
37
+
* Wraps the LocationServices and fused location provider in callbackFlow
38
+
*
37
39
* 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
38
40
* and https://github.com/googlecodelabs/kotlin-coroutines/blob/master/ktx-library-codelab/step-06/myktxlibrary/src/main/java/com/example/android/myktxlibrary/LocationUtils.kt
0 commit comments