Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02ce5a8b authored by Guillaume Jacquart's avatar Guillaume Jacquart
Browse files

feat:8489: Review fix, improve naming

parent 4f21765d
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -171,7 +171,7 @@ class LocationManagerInstance(
                        callbackForRequest.onLocationResult(LocationResult.create(listOf(fakeLocation)))
                    }
                } else {
                    val currentLocationRequest = LocationRequest.Builder(request.priority, 1000)
                    val realLocationRequest = LocationRequest.Builder(request.priority, 1000)
                        .setGranularity(request.granularity)
                        .setMaxUpdateAgeMillis(request.maxUpdateAgeMillis)
                        .setDurationMillis(request.durationMillis)
@@ -179,7 +179,7 @@ class LocationManagerInstance(
                        .setWorkSource(request.workSource)
                        .setThrottleBehavior(request.throttleBehavior)
                        .build()
                    locationManager.addBinderRequest(clientIdentity, binderIdentity, callbackForRequest, currentLocationRequest)
                    locationManager.addBinderRequest(clientIdentity, binderIdentity, callbackForRequest, realLocationRequest)
                }
                awaitCancellation()
            } catch (e: CancellationException) {