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)

x86
macOS
defect
Not set
critical

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
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
Whiteboard: [mobile app] → [mobile app][blocking]
Severity: normal → critical
Whiteboard: [mobile app][blocking] → [mobile app][blocking][tef-triage]
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
Attached file Pull Request
Attachment #8492101 - Flags: review?(josea.olivera)
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 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+
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.

Attachment

General

Created:
Updated:
Size: