View Single Post
Posts: 1,313 | Thanked: 2,978 times | Joined on Jun 2011 @ Finland
#512
Originally Posted by ajalkane View Post
I got the idle condition to work using the API so that when call is on-going idle conditions won't be kicked in.

There is a downside: it isn't possible to differentiate between someone calling you (but you not answering) and if you're talking on the phone. So, as an arbitrary example: if you use idle mode in the night to put on silent profile, when someone calls you then the device is switched back to ringing profile.

Anyone have objections?
I got a better idea after digesting it a bit. The idle mode will not kick in if a call is in progress. But if idle mode is on, and someone calls, the idle mode won't be deactivated.

That way if you're sleeping and it's in idle, incoming calls won't exit idle mode. And if on the other hand you're on the phone, idle mode won't kick in while you're talking.

That sounds better, right?
__________________
My N9/N950 projects:
 

The Following 5 Users Say Thank You to ajalkane For This Useful Post: