Closed Bug 1080677 Opened 10 years ago Closed 10 years ago

[Camera] An "error" overlay should be shown if camera hardware cannot be acquired

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: justindarc, Assigned: dmarcos)

References

Details

Attachments

(2 files)

Currently, the Camera app attempts to acquire the camera hardware up to 3 times (1000ms between requests). If the camera hardware cannot be acquired, however, the app currently gives up and the user can only see a blank viewfinder. An error message should be shown in a full-screen overlay if the hardware cannot be acquired after 3 attempts.
Assignee: nobody → dmarcos
Attached file camera-layer-test.zip (deleted) —
This is a really simple "Camera" app that can be installed via WebIDE. It does not release the camera hardware in the background, so it should cause a problem for the Gaia Camera app if it is running in the background.
Attached file Pull Request (deleted) —
Attachment #8506460 - Flags: review?(dmarcos)
Comment on attachment 8506460 [details]
Pull Request

Moving patch over from Bug 1079543 since this patch is exclusive to adding the error message overlay and has nothing to do with the WebRTC blocking issue.
Attachment #8506460 - Flags: review?(dmarcos) → review+
Landed on master:

https://github.com/mozilla-b2g/gaia/commit/f0b9b9098d731b55faeba8fd2da268b9ecce4d49
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: