Fixed crash at startup due to race condition
This commit is contained in:
parent
32ff9d1368
commit
1f5d906c57
1 changed files with 3 additions and 1 deletions
|
@ -1674,7 +1674,9 @@ public class LinphoneManager implements CoreListener, SensorEventListener, Accou
|
|||
|
||||
@Override
|
||||
public void onFriendListCreated(Core lc, FriendList list) {
|
||||
list.setListener(ContactsManager.getInstance());
|
||||
if (LinphoneService.isReady()) {
|
||||
list.setListener(ContactsManager.getInstance());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue