mozilla-b2g/gaia — pull request #3474 by chrisvargauk (2012-08-15 16:25:16+00:00)
Title: [dialer] swipe gesture if screen is locked

Context: The phone is in your pocket, locked, and you receive a call. A screen scrolls down that details the call. There are two buttons at the bottom of this screen to pick up or hang up the call. If you pull your phone out of your pocket while its ringing, you may pick up or hang up the call by accidently touching the screen. The swiper instead of those two buttons a solution to avoid this case.

This Pull Request implements the following:
- An event listener tracks the state of the screen in background.js, whether its locked or unlocked.
- Swiper replaces pickup and hangup buttons on incoming call screen if screen is locked.
- I dont know the state of the issue #3033, you may could use my event listener as a bases of your change.

Issue: #3432
@etiennesegonzac r?