Closed Bug 1219426 Opened 7 years ago Closed 7 years ago

Camera can setup viewfinder early after configuring

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aosmond, Assigned: aosmond)

References

Details

Attachments

(1 file)

Gecko ensures that when the app is notified that the camera is configured, the preview has also been started. Rather than wait for the preview state change, we can shorten the critical path (and get in before a display refresh happens, and another will need to happen again afterwards anyways) by enabling it right away in some cases.
Attachment #8680233 - Flags: review?(jdarcangelo)
Assignee: nobody → aosmond
Status: NEW → ASSIGNED
Attachment #8680233 - Flags: review?(jdarcangelo) → review+
https://github.com/mozilla-b2g/gaia/commit/4c3be0923734f600d7a21a27f960212497d2c07b
Blocks: 1210849
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.