Whenever I use the phone on my iPhone 3GS, it detects my face's proximity and dims the screen. However, once the call ends and I take the phone away from my face, the screen does not brighten again until I press the power/wake button, at which point the screen returns to normal.
Why is this happening? How can I fix it?
Some basic info: I'm running iOS 4.1, jailbroken.