mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-25 10:18:34 +00:00
[CNContact] CNContact clean fastAddressBook
This commit is contained in:
parent
c910192da5
commit
87020ea918
1 changed files with 0 additions and 8 deletions
|
|
@ -28,9 +28,6 @@
|
||||||
CNContactStore* store;
|
CNContactStore* store;
|
||||||
}
|
}
|
||||||
|
|
||||||
// static void sync_address_book(ABAddressBookRef addressBook, CFDictionaryRef
|
|
||||||
// info, void *context);
|
|
||||||
|
|
||||||
+ (UIImage *)imageForContact:(Contact *)contact {
|
+ (UIImage *)imageForContact:(Contact *)contact {
|
||||||
@synchronized(LinphoneManager.instance.fastAddressBook.addressBookMap) {
|
@synchronized(LinphoneManager.instance.fastAddressBook.addressBookMap) {
|
||||||
UIImage *retImage = [contact avatar];
|
UIImage *retImage = [contact avatar];
|
||||||
|
|
@ -238,11 +235,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void sync_address_book(ABAddressBookRef addressBook, CFDictionaryRef info, void *context) {
|
|
||||||
FastAddressBook *fastAddressBook = (__bridge FastAddressBook *)context;
|
|
||||||
[fastAddressBook reloadAllContacts];
|
|
||||||
}
|
|
||||||
|
|
||||||
#pragma mark - Tools
|
#pragma mark - Tools
|
||||||
|
|
||||||
+ (NSString *)localizedLabel:(NSString *)label {
|
+ (NSString *)localizedLabel:(NSString *)label {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue