Revert "Add force enabled backends array"
This reverts commit 4f3db06db5
.
This commit is contained in:
parent
4f3db06db5
commit
1274a311d8
|
@ -451,8 +451,6 @@ class UnifiedLocationClient(private val context: Context, private val lifecycle:
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
Log.w(TAG, "Failed to register location callback", e)
|
Log.w(TAG, "Failed to register location callback", e)
|
||||||
}
|
}
|
||||||
context.get()?.resources?.getStringArray(R.array.force_location_backends)?.let { setLocationBackends(it + getLocationBackends()) }
|
|
||||||
context.get()?.resources?.getStringArray(R.array.force_geocoder_backends)?.let { setGeocoderBackends(it + getGeocoderBackends()) }
|
|
||||||
updateServiceInterval()
|
updateServiceInterval()
|
||||||
if (continuations.size > 0) {
|
if (continuations.size > 0) {
|
||||||
Log.d(TAG, "Resuming ${continuations.size} continuations")
|
Log.d(TAG, "Resuming ${continuations.size} continuations")
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
~ Copyright (C) 2013-2020 microG Project Team
|
|
||||||
~
|
|
||||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
~ you may not use this file except in compliance with the License.
|
|
||||||
~ You may obtain a copy of the License at
|
|
||||||
~
|
|
||||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
~
|
|
||||||
~ Unless required by applicable law or agreed to in writing, software
|
|
||||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
~ See the License for the specific language governing permissions and
|
|
||||||
~ limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<resources>
|
|
||||||
<string-array name="force_location_backends" translatable="false">
|
|
||||||
</string-array>
|
|
||||||
|
|
||||||
<string-array name="force_geocoder_backends" translatable="false">
|
|
||||||
</string-array>
|
|
||||||
</resources>
|
|
Loading…
Reference in a new issue