Bug 848597 - The timing of enabling Proximity sensor doesn't consider alerting state. r=timdream, a=tef+.

The timing of enabling Proximity sensor doesn't consider alerting state