From 19e964d3a25eb0e813717baadb86fa9342828bec Mon Sep 17 00:00:00 2001 From: Agnieszka C <85929121+Aga-C@users.noreply.github.com> Date: Tue, 7 Dec 2021 18:15:19 +0100 Subject: [PATCH] Fixed accessing phone contacts --- .../simplemobiletools/contacts/pro/helpers/ContactsHelper.kt | 4 ++++ app/src/main/res/values-ar/strings.xml | 1 + app/src/main/res/values-az/strings.xml | 1 + app/src/main/res/values-cs/strings.xml | 3 ++- app/src/main/res/values-cy/strings.xml | 1 + app/src/main/res/values-da/strings.xml | 3 ++- app/src/main/res/values-de/strings.xml | 3 ++- app/src/main/res/values-el/strings.xml | 1 + app/src/main/res/values-es/strings.xml | 1 + app/src/main/res/values-eu/strings.xml | 1 + app/src/main/res/values-fi/strings.xml | 3 ++- app/src/main/res/values-fr/strings.xml | 3 ++- app/src/main/res/values-gl/strings.xml | 1 + app/src/main/res/values-hi-rIN/strings.xml | 1 + app/src/main/res/values-hr/strings.xml | 1 + app/src/main/res/values-hu/strings.xml | 3 ++- app/src/main/res/values-id/strings.xml | 1 + app/src/main/res/values-it/strings.xml | 3 ++- app/src/main/res/values-ja/strings.xml | 1 + app/src/main/res/values-ko-rKR/strings.xml | 1 + app/src/main/res/values-lt/strings.xml | 1 + app/src/main/res/values-ml/strings.xml | 1 + app/src/main/res/values-nb-rNO/strings.xml | 3 ++- app/src/main/res/values-nl/strings.xml | 1 + app/src/main/res/values-pl/strings.xml | 3 ++- app/src/main/res/values-pt-rBR/strings.xml | 1 + app/src/main/res/values-pt/strings.xml | 1 + app/src/main/res/values-ru/strings.xml | 3 ++- app/src/main/res/values-sk/strings.xml | 1 + app/src/main/res/values-sv/strings.xml | 3 ++- app/src/main/res/values-tr/strings.xml | 3 ++- app/src/main/res/values-uk/strings.xml | 1 + app/src/main/res/values-zh-rCN/strings.xml | 3 ++- app/src/main/res/values-zh-rTW/strings.xml | 1 + app/src/main/res/values/strings.xml | 1 + 35 files changed, 51 insertions(+), 13 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/ContactsHelper.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/ContactsHelper.kt index c45eaffa..59795654 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/ContactsHelper.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/ContactsHelper.kt @@ -807,6 +807,10 @@ class ContactsHelper(val context: Context) { } sources.addAll(contentResolverAccounts) + if (!sources.any { it.type.startsWith("com.google") || it.type.startsWith("com.android") || it.type.startsWith("com.qualcomm") }) { + sources.add(ContactSource("", "", context.getString(R.string.phone_storage))) + } + return sources } diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml index 10568cca..31180c34 100644 --- a/app/src/main/res/values-ar/strings.xml +++ b/app/src/main/res/values-ar/strings.xml @@ -4,6 +4,7 @@ العنوان إضافة… تحديث… + Phone storage ذاكرة الهاتف (غير مرئية من قبل التطبيقات الأخرى) الشركة الوظيفة diff --git a/app/src/main/res/values-az/strings.xml b/app/src/main/res/values-az/strings.xml index 23a1fdf8..3a2c9491 100644 --- a/app/src/main/res/values-az/strings.xml +++ b/app/src/main/res/values-az/strings.xml @@ -4,6 +4,7 @@ Ünvan Daxil edilir… Yenilənir… + Phone storage Telefon yaddaşı (digər tətbiqlərə görünmür) Şirkət İş vəziyyəti diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index 40646b5a..0a7d7b13 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -5,6 +5,7 @@ Adresa Vytváří se… Upravuje se… + Phone storage Úložiště telefonu (neviditelné pro ostatní apky) Firma Pracovní pozice @@ -152,4 +153,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-cy/strings.xml b/app/src/main/res/values-cy/strings.xml index f38adf26..c07b361c 100644 --- a/app/src/main/res/values-cy/strings.xml +++ b/app/src/main/res/values-cy/strings.xml @@ -4,6 +4,7 @@ Cyfeiriad Yn gosod… Yn diweddaru… + Phone storage Storfa ddyfais (dim i\'w weld gan apiau eraill) Cwmni Swydd diff --git a/app/src/main/res/values-da/strings.xml b/app/src/main/res/values-da/strings.xml index eecf6b18..244fef96 100644 --- a/app/src/main/res/values-da/strings.xml +++ b/app/src/main/res/values-da/strings.xml @@ -5,6 +5,7 @@ Adresse Indsætter… Opdaterer… + Phone storage Telefon lager (ikke synlig for andre apps) Firma Stilling @@ -151,4 +152,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 2501484b..26cb5e98 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -5,6 +5,7 @@ Adresse Einfügen… Aktualisiere… + Phone storage Gerätespeicher (nicht sichtbar für andere Apps) Unternehmen Arbeitsstelle @@ -111,4 +112,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml index 2e90f523..72e6fd70 100644 --- a/app/src/main/res/values-el/strings.xml +++ b/app/src/main/res/values-el/strings.xml @@ -4,6 +4,7 @@ Διεύθυνση Εισαγωγή… Ενημέρωση… + Phone storage Μνήμη τηλεφώνου (κρυφές από άλλες εφαρμογές) Εταιρεία Θέση Εργασίας diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 8717e173..5e260638 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -4,6 +4,7 @@ Dirección Insertando… Actualizando… + Phone storage Almacenamiento del teléfono (No visible para otras aplicaciones) Compañía Puesto de trabajo diff --git a/app/src/main/res/values-eu/strings.xml b/app/src/main/res/values-eu/strings.xml index 7098089f..0b19a61f 100644 --- a/app/src/main/res/values-eu/strings.xml +++ b/app/src/main/res/values-eu/strings.xml @@ -4,6 +4,7 @@ Helbidea Txertatzen… Eguneratzen… + Phone storage Telefono memoria (beste aplikazioentzat ikustezina) Enpresa Lanpostua diff --git a/app/src/main/res/values-fi/strings.xml b/app/src/main/res/values-fi/strings.xml index 12c3b297..91f9e5e6 100644 --- a/app/src/main/res/values-fi/strings.xml +++ b/app/src/main/res/values-fi/strings.xml @@ -5,6 +5,7 @@ Osoite Sijoitetaan... Päivitetään... + Phone storage Puhelimen muisti (piilotettu muilta sovelluksilta) Yritys Ammatti @@ -151,4 +152,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 70a26251..3be2d513 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -5,6 +5,7 @@ Adresse Insertion… Actualisation… + Phone storage Mémoire du téléphone (invisible pour les autres applis) Entreprise Poste @@ -111,4 +112,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-gl/strings.xml b/app/src/main/res/values-gl/strings.xml index ab458bec..f263865f 100644 --- a/app/src/main/res/values-gl/strings.xml +++ b/app/src/main/res/values-gl/strings.xml @@ -4,6 +4,7 @@ Endereço A inserir… A atualizar… + Phone storage Armazenamento do telefone (não visível por outras alicações) Organização Cargo diff --git a/app/src/main/res/values-hi-rIN/strings.xml b/app/src/main/res/values-hi-rIN/strings.xml index 851b56fc..220df761 100644 --- a/app/src/main/res/values-hi-rIN/strings.xml +++ b/app/src/main/res/values-hi-rIN/strings.xml @@ -4,6 +4,7 @@ Address Inserting… Updating… + Phone storage Phone storage (not visible by other apps) Company Job position diff --git a/app/src/main/res/values-hr/strings.xml b/app/src/main/res/values-hr/strings.xml index 4291c4cd..95448e0e 100644 --- a/app/src/main/res/values-hr/strings.xml +++ b/app/src/main/res/values-hr/strings.xml @@ -4,6 +4,7 @@ Adresa Dodavanje… Ažuriranje… + Phone storage Pohrana na telefonu (nije vidljiva drugim aplikacijama)) Tvrtka Radno mjesto diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index cb43b348..9f5dda4e 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -5,6 +5,7 @@ Cím Hozzáadás… Módosítás… + Phone storage Telefon tárhelye (többi alkalmazás számára nem látható) Cégnév Munkakör @@ -151,4 +152,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-id/strings.xml b/app/src/main/res/values-id/strings.xml index 505f1085..c89067fe 100644 --- a/app/src/main/res/values-id/strings.xml +++ b/app/src/main/res/values-id/strings.xml @@ -4,6 +4,7 @@ Alamat Menyimpan… Memperbarui… + Phone storage Penyimpanan telepon (tidak terlihat oleh aplikasi lain) Perusahaan Jabatan diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 7ccd7abb..c7bef214 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -5,6 +5,7 @@ Indirizzo Inserimento in corso… Aggiornamento in corso… + Phone storage Memoria del telefono (non visibile alle altre applicazioni) Società Posizione lavorativa @@ -111,4 +112,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 0c338975..3ae84bce 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -4,6 +4,7 @@ 住所 挿入中… 更新中… + Phone storage 内部ストレージ (他のアプリからは表示されません) 会社 役職 diff --git a/app/src/main/res/values-ko-rKR/strings.xml b/app/src/main/res/values-ko-rKR/strings.xml index 312fde32..395d4d97 100644 --- a/app/src/main/res/values-ko-rKR/strings.xml +++ b/app/src/main/res/values-ko-rKR/strings.xml @@ -4,6 +4,7 @@ 주소 등록중… 수정중… + Phone storage Phone storage (not visible by other apps) Company Job position diff --git a/app/src/main/res/values-lt/strings.xml b/app/src/main/res/values-lt/strings.xml index e5a8f8e6..f315b737 100644 --- a/app/src/main/res/values-lt/strings.xml +++ b/app/src/main/res/values-lt/strings.xml @@ -4,6 +4,7 @@ Adresas Įterpiama… Atnaujinama… + Phone storage Telefono atmintis (nematoma kitų programėlių) Company Job position diff --git a/app/src/main/res/values-ml/strings.xml b/app/src/main/res/values-ml/strings.xml index 24911921..d0d5bd46 100644 --- a/app/src/main/res/values-ml/strings.xml +++ b/app/src/main/res/values-ml/strings.xml @@ -4,6 +4,7 @@ വിലാസം ചേർക്കുന്നു… പുതുക്കുന്നു… + Phone storage ഫോൺ സ്റ്റോറേജ് (മറ്റ് അപ്ലിക്കേഷനുകൾക്ക് ദൃശ്യമല്ല) കമ്പനി ഉദ്യോഗ സ്ഥാനം diff --git a/app/src/main/res/values-nb-rNO/strings.xml b/app/src/main/res/values-nb-rNO/strings.xml index bb3e6b71..f0f7cc0f 100644 --- a/app/src/main/res/values-nb-rNO/strings.xml +++ b/app/src/main/res/values-nb-rNO/strings.xml @@ -5,6 +5,7 @@ Adresse Legger til … Oppdaterer … + Phone storage Telefonlager (ikke synlig for andre programmer) Firma Stilling @@ -151,4 +152,4 @@ https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> Minst ett felt må fylles ut - \ No newline at end of file + diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index 6a11a522..8ac8d37d 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -4,6 +4,7 @@ Adres Toevoegen… Updaten… + Phone storage Telefoonopslag (niet zichtbaar voor andere apps) Bedrijf Titel diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 55cf0048..d01ea503 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -5,6 +5,7 @@ Adres Dodawanie… Aktualizowanie… + Pamięć telefonu Pamięć telefonu (niewidoczne dla innych aplikacji) Firma Stanowisko @@ -152,4 +153,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 3582e871..fad35636 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -4,6 +4,7 @@ Endereço Inserindo… Atualizando… + Phone storage Armazenamento do telefone (não visível por outros aplicativos) Empresa Cargo diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index cd052400..be9fe065 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -4,6 +4,7 @@ Endereço A inserir… A atualizar… + Phone storage Armazenamento do telefone (não visível por outras alicações) Organização Cargo diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 8eeb3392..f415c166 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -5,6 +5,7 @@ Адрес Добавление… Обновление… + Phone storage Память устройства (не видна другим приложениям) Организация Должность @@ -112,4 +113,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index b100a55a..3189ad5b 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -4,6 +4,7 @@ Adresa Vytvára sa… Upravuje sa… + Phone storage Úložisko mobilu (neviditeľné pre ostatné apky) Firma Pracovná pozícia diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 8f8e35ce..3672629d 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -5,6 +5,7 @@ Adress Lägger till… Uppdaterar… + Phone storage Telefonens lagringsutrymme (inte synligt för andra appar) Företag Befattning @@ -151,4 +152,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index 99a38148..48809bc5 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -5,6 +5,7 @@ Adres Ekleniyor… Güncelleniyor… + Phone storage Telefon belleği (diğer uygulamalar tarafından görülmez) Şirket İş pozisyonu @@ -151,4 +152,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index 7492fc93..ad5d6edc 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -4,6 +4,7 @@ Адреса Триває додавання… Триває оновлення… + Phone storage Пам\'ять пристрою (прихована від інших додатків) Компанія Посада diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index c9af79e9..312ffe49 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -5,6 +5,7 @@ 地址 添加中… 更新中… + Phone storage 手机空间 (其他程序不可见) 公司 职位 @@ -151,4 +152,4 @@ Haven't found some strings? There's more at https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res --> - \ No newline at end of file + diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index aab8f716..89b8503d 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -4,6 +4,7 @@ 地址 添加中… 更新中… + Phone storage 手機空間 (其他程式不可見) 公司 職位 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 24ac00e0..04187165 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -5,6 +5,7 @@ Address Inserting… Updating… + Phone storage Phone storage (not visible by other apps) Company Job position