Merge pull request #2117 from nextcloud/dependabot/gradle/androidx.core-core-ktx-1.8.0

Bump core-ktx from 1.7.0 to 1.8.0
This commit is contained in:
Andy Scherzinger 2022-06-03 15:11:11 +02:00 committed by GitHub
commit 8ae9431126
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -290,7 +290,7 @@ dependencies {
exclude group: 'org.apache.httpcomponents', module: 'httpclient' exclude group: 'org.apache.httpcomponents', module: 'httpclient'
}) })
implementation 'androidx.core:core-ktx:1.7.0' implementation 'androidx.core:core-ktx:1.8.0'
testImplementation 'junit:junit:4.13.2' testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-core:4.6.1' testImplementation 'org.mockito:mockito-core:4.6.1'

View file

@ -118,7 +118,7 @@ class ContactAddressBookWorker(val context: Context, workerParameters: WorkerPar
val deviceContactsWithNumbers = collectContactsWithPhoneNumbersFromDevice() val deviceContactsWithNumbers = collectContactsWithPhoneNumbersFromDevice()
if (deviceContactsWithNumbers.isNotEmpty()) { if (deviceContactsWithNumbers.isNotEmpty()) {
val currentLocale = ConfigurationCompat.getLocales(context.resources.configuration)[0].country val currentLocale = ConfigurationCompat.getLocales(context.resources.configuration)[0]!!.country
val map = mutableMapOf<String, Any>() val map = mutableMapOf<String, Any>()
map["location"] = currentLocale map["location"] = currentLocale