Do not fetch contacts when going foreground/background
This commit is contained in:
parent
190d50f2f7
commit
f15283722f
1 changed files with 0 additions and 2 deletions
|
@ -467,8 +467,6 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag
|
||||||
LinphoneFriendList mFriendList = (lc.getFriendLists())[0];
|
LinphoneFriendList mFriendList = (lc.getFriendLists())[0];
|
||||||
Log.i("Presence list subscription is " + (enabled ? "enabled" : "disabled"));
|
Log.i("Presence list subscription is " + (enabled ? "enabled" : "disabled"));
|
||||||
mFriendList.enableSubscriptions(enabled);
|
mFriendList.enableSubscriptions(enabled);
|
||||||
if (ContactsManager.getInstance() != null)
|
|
||||||
ContactsManager.getInstance().fetchContactsAsync();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue