mirror of
				https://github.com/SimpleMobileTools/Simple-Contacts.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	remove the check for ContentResolver.getSyncAutomatically at getting accounts
This commit is contained in:
		| @@ -692,7 +692,7 @@ class ContactsHelper(val activity: Activity) { | ||||
|  | ||||
|         val accounts = AccountManager.get(activity).accounts | ||||
|         accounts.forEach { | ||||
|             if (ContentResolver.getIsSyncable(it, ContactsContract.AUTHORITY) == 1 && ContentResolver.getSyncAutomatically(it, ContactsContract.AUTHORITY)) { | ||||
|             if (ContentResolver.getIsSyncable(it, ContactsContract.AUTHORITY) == 1) { | ||||
|                 val contactSource = ContactSource(it.name, it.type) | ||||
|                 sources.add(contactSource) | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user