Closed
Bug 1049454
Opened 11 years ago
Closed 11 years ago
[Loop] During an audio call the proximity sensor doesn't work
Categories
(Firefox OS Graveyard :: Gaia::Loop, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mbarone976, Assigned: borjasalguero)
References
Details
(Whiteboard: [mobile app][blocking][tef-triage])
Attachments
(1 file)
Device: Fire E/Flame
Loop ID: c10ba2b
US: https://bugzilla.mozilla.org/show_bug.cgi?id=1010324
As per AC: For audio only calls, this screen is de-activated (screen is switched-on) via proximity sensor to avoid accidentally finished calls.
The screen is not de-activated in an audio call
Comment 1•11 years ago
|
||
This issue still occurs on the latest 2.0 build with the v165 KK base. The screen is not deactivated via proximity sensors during audio only calls.
Environmental Variables:
Device: Flame 2.0
BuildID: 20140820030000
Gaia: 806d37a264743e04a3e1493136486f3e00124e1e
Gecko: 6329352ca531b977979451e77e5862af485388b2
Version: 32.0 (2.0)
Firmware Version: v165
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
Loop version: 8c71431
Updated•11 years ago
|
Whiteboard: [mobile app] → [mobile app][blocking]
Updated•11 years ago
|
Severity: normal → critical
Whiteboard: [mobile app][blocking] → [mobile app][blocking][tef-triage]
| Assignee | ||
Comment 2•11 years ago
|
||
Taking this one. As we have no permissions to get the screen off, I'll try to do a workaround here.
Assignee: nobody → borja.bugzilla
| Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8492101 -
Flags: review?(josea.olivera)
| Assignee | ||
Comment 4•11 years ago
|
||
As due to [1] is not available to privileged apps, this is a workaround in order to emulate the same within the call screen.
[1] https://developer.mozilla.org/en-US/docs/Web/API/PowerManager.screenEnabled
Comment 5•11 years ago
|
||
Comment on attachment 8492101 [details] [review]
Pull Request
Really smart work around!, thanks for taking care of it Borja!
Attachment #8492101 -
Flags: review?(josea.olivera) → review+
| Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Tested with Flame (v2.0 kk v180)
Gecko-9362b48.Gaia-6449cc3
Loop version 041ff17
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•