Fixed crash due to permission for sync account on Huawei
This commit is contained in:
parent
7c5f3dcb9c
commit
1f8766808f
1 changed files with 1 additions and 1 deletions
|
@ -306,11 +306,11 @@ public class ContactsManager extends ContentObserver implements FriendListListen
|
|||
try {
|
||||
accountManager.addAccountExplicitly(newAccount, null, null);
|
||||
Log.i("[Contacts Manager] Contact account added");
|
||||
makeContactAccountVisible();
|
||||
} catch (Exception e) {
|
||||
Log.e("[Contacts Manager] Couldn't initialize sync account: " + e);
|
||||
}
|
||||
}
|
||||
makeContactAccountVisible();
|
||||
}
|
||||
|
||||
public synchronized LinphoneContact findContactFromAddress(Address address) {
|
||||
|
|
Loading…
Reference in a new issue