Closed
Bug 872035
Opened 11 years ago
Closed 10 years ago
Do not turn screen on when device is in pocket
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 907112
People
(Reporter: gerard-majax, Unassigned)
Details
(Keywords: dogfood, feature)
Attachments
(1 file)
When receiving a notification (like, for example, SMS), the device's screen should not turn on when the proximity sensor reports that there is something close. Use case here is having the phone in your pocket, for example, while riding your bike to work. Receiving a SMS will turn the screen on, and you might end up unlocking the device in your pocket. This happens nearly everyday in my case, this is not hypothetical.
Reporter | ||
Updated•11 years ago
|
blocking-b2g: --- → tef?
Comment 1•11 years ago
|
||
Agree it is bad, but this is a new feature and it is too late to add it to 1.0.1 :(
Whiteboard: [tef-triage]
Reporter | ||
Comment 2•11 years ago
|
||
The worst is that I've been wondering about this for several months actually, and I don't know why I remember I heard it was a feature and not a bug ... Anyway, could it make it in v1.1 ?
Reporter | ||
Comment 3•11 years ago
|
||
Okay, while it's not a priority, I got quickly a fix in the train so I'm sharing it with you. As far as I'm concerned, it's work quite well on master.
Attachment #750002 -
Flags: review?(etienne)
Comment 4•11 years ago
|
||
Comment on attachment 750002 [details] Link to Github https://github.com/mozilla-b2g/gaia/pull/9799 I'm not sure how to make this work... * first, the proximity sensor should not be powered on when the phone is in your pocket * secondly, and more importantly: we need to turn on the screen in order to vibrate, and we definitely want to vibrate, so we always need to turn on the screen.
Attachment #750002 -
Flags: review?(etienne) → review-
Reporter | ||
Comment 5•11 years ago
|
||
(In reply to Etienne Segonzac (:etienne) from comment #4) > Comment on attachment 750002 [details] > Link to Github https://github.com/mozilla-b2g/gaia/pull/9799 > > I'm not sure how to make this work... > > * first, the proximity sensor should not be powered on when the phone is in > your pocket Do we have any way to probe the sensor value from Gaia instead of listening to the userproximity event ? Maybe we could only listen in the addNotifications method, thus listening only at the wake up moment, if I get the code path right. But maybe it will be subject to race conditions ... > > * secondly, and more importantly: we need to turn on the screen in order to > vibrate, and we definitely want to vibrate, so we always need to turn on the > screen. Ouch, that's quite a huge stopper :/. Anyway, thanks for the input !
Updated•11 years ago
|
Whiteboard: [tef-triage]
Reporter | ||
Comment 6•10 years ago
|
||
Having upgraded my Nexus S to stock Gaia master, I'm still hitting this issue. There is no way we can do further releases without working on this: just a couple of minutes ago, I got a call while in the subway. This resulted in many apps getting started, pictures of my pocket taken :(
blocking-b2g: - → 1.4?
Reporter | ||
Comment 7•10 years ago
|
||
Looks like this has been fixed by bug 907112. So far I'm not able to reproduce this anymore.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Updated•10 years ago
|
blocking-b2g: 1.4? → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•