Do not to forget to enable RLS after lest background mode
This commit is contained in:
parent
058fd78ce7
commit
3e33477d6c
1 changed files with 4 additions and 0 deletions
|
@ -245,6 +245,10 @@ public final class LinphoneService extends Service {
|
||||||
|
|
||||||
protected void onForegroundMode() {
|
protected void onForegroundMode() {
|
||||||
Log.i("App has left background mode");
|
Log.i("App has left background mode");
|
||||||
|
if (LinphonePreferences.instance() != null && LinphonePreferences.instance().isFriendlistsubscriptionEnabled()) {
|
||||||
|
if (LinphoneManager.isInstanciated())
|
||||||
|
LinphoneManager.getInstance().subscribeFriendList(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setupActivityMonitor(){
|
private void setupActivityMonitor(){
|
||||||
|
|
Loading…
Reference in a new issue