mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-27 16:09:20 +00:00
Merge branch 'new_ui' of git://git.linphone.org/linphone-iphone into buschjaeger_new_ui
Conflicts: submodules/linphone
This commit is contained in:
commit
832d1d5bd9
3 changed files with 7 additions and 1 deletions
|
|
@ -81,6 +81,10 @@ typedef struct _LinphoneManagerSounds {
|
|||
|
||||
NSMutableArray *inhibitedEvent;
|
||||
|
||||
/* MODIFICATION: Add NSUSerdefault settings */
|
||||
NSDictionary *currentSettings;
|
||||
/**/
|
||||
|
||||
@public
|
||||
CallContext currentCallContextBeforeGoingBackground;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1166,11 +1166,13 @@ static LinphoneCoreVTable linphonec_vtable = {
|
|||
if ([device respondsToSelector:@selector(isMultitaskingSupported)])
|
||||
backgroundSupported = [device isMultitaskingSupported];
|
||||
|
||||
BOOL isbackgroundModeEnabled;
|
||||
if (backgroundSupported) {
|
||||
isbackgroundModeEnabled = [[NSUserDefaults standardUserDefaults] boolForKey:@"backgroundmode_preference"];
|
||||
} else {
|
||||
isbackgroundModeEnabled=false;
|
||||
}
|
||||
lp_config_set_int(linphone_core_get_config(theLinphoneCore),"app","backgroundmode_preference", isbackgroundModeEnabled);
|
||||
|
||||
[currentSettings release];
|
||||
currentSettings = newSettings;
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit c97efee37aea1ccae3c476a108e988e47f38faa4
|
||||
Subproject commit 0a12fa9ce7af5c795722ce1f7ebad9bc85314d3b
|
||||
Loading…
Add table
Reference in a new issue