kopia lustrzana https://github.com/ryukoposting/Signal-Android
rodzic
5a773de3b1
commit
bed2544ff4
|
@ -297,6 +297,11 @@ public class DirectoryHelper {
|
|||
boolean removeMissing,
|
||||
@NonNull Map<String, String> rewrites)
|
||||
{
|
||||
if (!Permissions.hasAll(context, Manifest.permission.READ_CONTACTS, Manifest.permission.WRITE_CONTACTS)) {
|
||||
Log.w(TAG, "[updateContactsDatabase] No contact permissions. Skipping.");
|
||||
return;
|
||||
}
|
||||
|
||||
AccountHolder account = getOrCreateSystemAccount(context);
|
||||
|
||||
if (account == null) {
|
||||
|
|
Ładowanie…
Reference in New Issue