Closed Bug 1167342 Opened 5 years ago Closed 5 years ago

[Customizer] Track generated add-on count internally

Categories

(Firefox OS Graveyard :: Gaia::Customizer, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: justindarc, Assigned: justindarc)

References

Details

(Whiteboard: [spark])

Attachments

(1 file)

Since we cannot rely on the navigator.mozApps.mgmt API within Customizer, we need to be able to track and persist the number of generated add-ons internally instead.
To clarify, this count is needed for generating default add-on names during save (e.g. "Addon 4").
Assignee: nobody → jdarcangelo
Priority: -- → P1
Whiteboard: [spark]
Depends on: 1159376
Attached file pull-request (master)
NOTE: There are two commits in this PR because the changes depend on Bug 1159376 which hasn't landed yet.
Attachment #8608961 - Flags: review?(drs)
Rebased, so there should only be one commit now.
Comment on attachment 8608961 [details] [review]
pull-request (master)

Nice and simple.
Attachment #8608961 - Flags: review?(drs) → review+
Landed on master:

https://github.com/fxos/customizer/commit/9ebba151332ca1f2a79b763a2598826bc23fda2b
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.