View Single Post
Posts: 1,313 | Thanked: 2,978 times | Joined on Jun 2011 @ Finland
#511
Originally Posted by ajalkane View Post
I also strongly suspect there's DBus messages flying around when calls happen. But I hope the API works, it would be much cleaner than trying to figure out the DBus API by monitoring messages.
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?
__________________
My N9/N950 projects: