mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
[ProximitySensor] clean source code
This commit is contained in:
parent
76165e82da
commit
0fe8255719
1 changed files with 1 additions and 2 deletions
|
|
@ -179,7 +179,6 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
[super viewDidAppear:animated];
|
||||
|
||||
[[UIApplication sharedApplication] setIdleTimerDisabled:YES];
|
||||
//UIDevice.currentDevice.proximityMonitoringEnabled = !_speakerButton.enabled;
|
||||
[[UIDevice currentDevice] setProximityMonitoringEnabled:TRUE];
|
||||
|
||||
[PhoneMainView.instance setVolumeHidden:TRUE];
|
||||
|
|
@ -220,7 +219,7 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
[super viewDidDisappear:animated];
|
||||
|
||||
[[UIApplication sharedApplication] setIdleTimerDisabled:false];
|
||||
UIDevice.currentDevice.proximityMonitoringEnabled = NO;
|
||||
[[UIDevice currentDevice] setProximityMonitoringEnabled:FALSE];
|
||||
|
||||
[PhoneMainView.instance fullScreen:false];
|
||||
// Disable tap
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue