mozilla-b2g/gaia — pull request #6370 by marcofreda527 (2012-11-13 08:42:18+00:00)
Title: Bug 753842 - SetScreenEnabled suspends the device preventing proximity events from firing

Bug 753842 - SetScreenEnabled suspends the device preventing proximity events from firing
r=timdream, francisco. a=blocking-basecamp
Dialer part is contributed by etienne.
Remove to listen proximity event from Dialer then add screen_manager to listen proximity event during in_call state. Then set screen off while phone is near ear and set screen on while far to ear.