From 1274a311d8fdc7a0efa3bb03f4f10d5a976792e3 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Thu, 2 Jun 2022 21:12:49 -0400 Subject: [PATCH] Revert "Add force enabled backends array" This reverts commit 4f3db06db54fca9a6c0364edcc70e0883b081ed6. --- .../nlp/client/UnifiedLocationClient.kt | 2 -- client/src/main/res/values/arrays.xml | 24 ------------------- 2 files changed, 26 deletions(-) delete mode 100644 client/src/main/res/values/arrays.xml diff --git a/client/src/main/kotlin/org/microg/nlp/client/UnifiedLocationClient.kt b/client/src/main/kotlin/org/microg/nlp/client/UnifiedLocationClient.kt index e923acc..e4c9340 100644 --- a/client/src/main/kotlin/org/microg/nlp/client/UnifiedLocationClient.kt +++ b/client/src/main/kotlin/org/microg/nlp/client/UnifiedLocationClient.kt @@ -451,8 +451,6 @@ class UnifiedLocationClient(private val context: Context, private val lifecycle: } catch (e: Exception) { 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() if (continuations.size > 0) { Log.d(TAG, "Resuming ${continuations.size} continuations") diff --git a/client/src/main/res/values/arrays.xml b/client/src/main/res/values/arrays.xml deleted file mode 100644 index d71add4..0000000 --- a/client/src/main/res/values/arrays.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - -