mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Disable voice recording function when in call
This commit is contained in:
parent
e23f80ca51
commit
04aded6a48
2 changed files with 6 additions and 0 deletions
|
|
@ -272,6 +272,7 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
// Voice recording
|
||||
_vrView.hidden = true;
|
||||
_preservePendingRecording = false;
|
||||
_toggleRecord.enabled = linphone_core_get_calls_nb(LC) == 0;
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -474,6 +475,8 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
|
||||
- (void)callUpdateEvent:(NSNotification *)notif {
|
||||
[self updateSuperposedButtons];
|
||||
_toggleRecord.enabled = linphone_core_get_calls_nb(LC) == 0;
|
||||
|
||||
}
|
||||
|
||||
- (void)update {
|
||||
|
|
|
|||
|
|
@ -165,6 +165,9 @@
|
|||
}
|
||||
[super update];
|
||||
|
||||
_vrPlayPause.enabled = linphone_core_get_calls_nb(LC) == 0;
|
||||
|
||||
|
||||
NSMutableDictionary<NSString *, NSString *> *encrptedFilePaths = NULL;
|
||||
if ([VFSUtil vfsEnabledWithGroupName:kLinphoneMsgNotificationAppGroupId]) {
|
||||
encrptedFilePaths = [LinphoneManager getMessageAppDataForKey:@"encryptedfiles" inMessage:self.message];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue