Update LC policy when leaving settings Activity
This commit is contained in:
parent
ea5955bcbc
commit
b98ab90412
1 changed files with 1 additions and 0 deletions
|
@ -814,6 +814,7 @@ public class LinphonePreferencesActivity extends PreferenceActivity implements E
|
|||
|
||||
try {
|
||||
LinphoneManager.getInstance().initFromConf();
|
||||
lc.setVideoPolicy(LinphoneManager.getInstance().isAutoInitiateVideoCalls(), LinphoneManager.getInstance().isAutoAcceptCamera());
|
||||
} catch (LinphoneException e) {
|
||||
if (! (e instanceof LinphoneConfigException)) {
|
||||
Log.e(e, "Cannot update config");
|
||||
|
|
Loading…
Reference in a new issue