Closed Bug 1154756 Opened 9 years ago Closed 6 years ago

[Camera] App needs to handle 'close' event

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mikeh, Unassigned)

References

Details

The 'close' event on CameraControl indicates that the camera hardware has been closed by the system, either because the Gonk camera service failed, or another process has requested and been granted access to the hardware.

Currently, controller.js only handles the former case[1]: when bug 1073017 lands, it will need to handle the latter -- reported with a "NotAvailable" reason -- as well.

1. https://github.com/mozilla-b2g/gaia/blob/master/apps/camera/js/controllers/camera.js#L474
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.