Closed Bug 930219 Opened 11 years ago Closed 11 years ago

[camera] Handle CAMERA_MSG_ERROR in GonkCameraHardware::notify()

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g18 affected, b2g-v1.1hd affected, b2g-v1.2 affected)

RESOLVED DUPLICATE of bug 909542
1.3 Sprint 5 - 11/22
Tracking Status
b2g18 --- affected
b2g-v1.1hd --- affected
b2g-v1.2 --- affected

People

(Reporter: mikeh, Unassigned)

References

Details

When the camera service dies, the camera client posts CAMERA_MSG_ERROR[1] to the notify() callback. We currently ignore this[2], but it would be useful to be able to handle this (or at least tell the user what happened). Currently, when the camera service dies, the viewfinder freezes and the camera UI becomes mostly unresponsive. 1. http://androidxref.com/4.0.4/xref/system/core/include/system/camera.h#73 2. http://mxr.mozilla.org/mozilla-central/source/dom/camera/GonkCameraHwMgr.cpp#106
This can be addressed as part of bug 909542, or separately.
Mike, Not marking this a blocker, but adding a target milestone for 1.3 since you are working on cleaning up the camera apis
blocking-b2g: 1.3? → ---
Target Milestone: --- → 1.3 Sprint 5 - 11/22
This change was included as part of bug 909542.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.