Guys, I'm having some headache with this thing:
For example, when you receive a call, the phone see if the proximity sensor is blocked, if so, it keeps the screen locked until you, for example, take it out of the pocket, and unblock the proximity sensor...
BUT
When you receive a SMS, it ignores the proximity sensor, and unlocks the screen anyway, because of this, I can't put the phone to lock (ask pattern) @ more than 5 sec, because if I receive a SMS, the screen will turn on, and it'll do a lot of unwanted stuff while on my pocket...
But even putting the phone to lock when the screen goes off, sometimes when I receive SMS, the screen goes ON, asking the pattern, or asking to do an emergency call, and guess what? It does a lot of unwanted emergency calls...
And even worse, I cycle a lot, and like to listen music while cycling, so when I receive a SMS, it sometimes start to change music, pause music, etc, but the worse is, when I receive a call, and press the earphone button to answer it, and then press it again to end it, when the call ends, the screen goes ON, I mean, WTF? if I'm controlling the call from the earphone, it's probally because I can't reach the screen? Why would it turn on??
So, I have a i9505 with stock rom, but rooted, is there a file that I can edit to make it don't turn ON @ these cases, or another way to prevent it?
For example, when you receive a call, the phone see if the proximity sensor is blocked, if so, it keeps the screen locked until you, for example, take it out of the pocket, and unblock the proximity sensor...
BUT
When you receive a SMS, it ignores the proximity sensor, and unlocks the screen anyway, because of this, I can't put the phone to lock (ask pattern) @ more than 5 sec, because if I receive a SMS, the screen will turn on, and it'll do a lot of unwanted stuff while on my pocket...
But even putting the phone to lock when the screen goes off, sometimes when I receive SMS, the screen goes ON, asking the pattern, or asking to do an emergency call, and guess what? It does a lot of unwanted emergency calls...
And even worse, I cycle a lot, and like to listen music while cycling, so when I receive a SMS, it sometimes start to change music, pause music, etc, but the worse is, when I receive a call, and press the earphone button to answer it, and then press it again to end it, when the call ends, the screen goes ON, I mean, WTF? if I'm controlling the call from the earphone, it's probally because I can't reach the screen? Why would it turn on??
So, I have a i9505 with stock rom, but rooted, is there a file that I can edit to make it don't turn ON @ these cases, or another way to prevent it?