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)
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.
Reporter | ||
Comment 1•10 years ago
|
||
https://github.com/mozilla-b2g/gaia/blob/master/apps/camera/js/lib/camera/camera.js#L344
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → dmarcos
Reporter | ||
Comment 2•10 years ago
|
||
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.
Reporter | ||
Comment 4•10 years ago
|
||
Comment on attachment 8506460 [details] [review] 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+
Reporter | ||
Comment 5•10 years ago
|
||
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.
Description
•