andy1945 / csipsimple

Automatically exported from code.google.com/p/csipsimple
0 stars 0 forks source link

Lock screen during call #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Lock the screen during a call.

* Use proximity sensor if present
* Else use the same timer that the one used in the android phone application.

Original issue reported on code.google.com by r3gis...@gmail.com on 29 May 2010 at 10:54

GoogleCodeExporter commented 9 years ago

Original comment by r3gis...@gmail.com on 29 May 2010 at 10:54

GoogleCodeExporter commented 9 years ago
Done in -12-25 (was done since a while but at least -12-25 is ok with this 
feature).
Both proximity sensor and timer are ok.
Important notice :
* As for some device (particularly nexus one), turning off screen implies wifi 
to enter PSP mode, there is an option in settings to keep screen enlighten 
while in call (UI settings).  
* For other devices, provided the fact settings is well set to not keep awake 
while in call,as there is no public api to turn off screen, there is a screen 
locker overlay and screen will turn off when the android timer has expired 
(depends on user settings).

Original comment by r3gis...@gmail.com on 29 Aug 2010 at 11:03