Closed Bug 960611 Opened 11 years ago Closed 11 years ago

[Camera] Create mechanism to save/load user settings

Categories

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

ARM
Gonk (Firefox OS)
enhancement
Not set
normal

Tracking

(blocking-b2g:1.4+, b2g-v1.4 fixed)

RESOLVED FIXED
1.4 S1 (14feb)
blocking-b2g 1.4+
Tracking Status
b2g-v1.4 --- fixed

People

(Reporter: dmarcos, Assigned: wilsonpage)

References

Details

Attachments

(1 file, 1 obsolete file)

Some use cases require to save certain settings when closing the camera. e.g: Flash state is persisted between camera launches.
Blocks: 934409
Assignee: nobody → wilsonpage
Blocks: 965438
Attached file pull-request (master) (obsolete) —
Attachment #8368052 - Flags: review?(dmarcos)
Attachment #8368052 - Attachment is obsolete: true
Attachment #8368052 - Flags: review?(dmarcos)
Attachment #8375754 - Flags: review?(dmarcos)
Attachment #8375754 - Flags: review?(dmarcos) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Reverted for Gaia unit test perma-fail on TBPL. https://github.com/mozilla-b2g/gaia/commit/e86a1d8a35d68c00267edb087b230d82115dac8c https://tbpl.mozilla.org/php/getParsedLog.php?id=34669659&tree=B2g-Inbound gaia-unit-tests TEST-UNEXPECTED-FAIL | camera/test/unit/lib/sounds_test.js | Sounds Sounds#createAudio() Should set the mozAudioChannel type | expected false to be truthy gaia-unit-tests TEST-UNEXPECTED-FAIL | camera/test/unit/controllers/hud_test.js | controllers/hud "before each" hook | The constructor should be a function. TypeError: The constructor should be a function.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Ran all unit-tests locally on 'master' branch and all seem to be passing. Pointing to TBPL env differences.
Submitted a fix for camera/test/unit/controllers/hud_test.js https://github.com/dmarcos/gaia/pull/32 Can't recreate the audio one at the moment.
I have no idea why the audio test would be failing. It is an old test that has been around for a long time. The hud test failure was understandable. I suggest we try to land again, but will leave this decision to dmarcos.
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
blocking-b2g: --- → 1.4+
Target Milestone: --- → 1.4 S1 (14feb)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: