Closed Bug 734211 Opened 13 years ago Closed 13 years ago

Expose API for querying the existence of Sync accounts, creating accounts

Categories

(Firefox for Android Graveyard :: Android Sync, defect, P1)

ARM
Android
defect

Tracking

(firefox13 fixed, firefox14 fixed)

RESOLVED FIXED
mozilla14
Tracking Status
firefox13 --- fixed
firefox14 --- fixed

People

(Reporter: rnewman, Assigned: rnewman)

References

Details

This will largely entail lifting AccountActivity.createAccount and adding validation, and documenting its assumptions (e.g., about threading). Also will need an option to ensure that no account already exists, to avoid ending up with two! While we're here, we can also add a little API to check whether a Sync account exists, and strip that logic out of the main Fennec code. In the future we can explore additional decoupling.
Blocks: 735137
https://hg.mozilla.org/integration/mozilla-inbound/rev/a0df03570b26 Leaving open for any work required for Part 2.
Whiteboard: [Leave open after merge]
Assignee: rnewman → nalexander
Priority: P2 → P1
https://hg.mozilla.org/releases/mozilla-aurora/rev/bccdef36473e (i assume there is more to add here since the bug was left open. maybe we should open a new bug and close this one?)
(In reply to Richard Newman [:rnewman] from comment #2) > https://hg.mozilla.org/integration/mozilla-inbound/rev/a0df03570b26 > > Leaving open for any work required for Part 2. can you file a second bug for part #2 please?
Blocks: 739629
Done!
No longer blocks: 715550
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Summary: Expose safe account creation API for profile migration → Expose API for querying the existence of Sync accounts, creating accounts
Whiteboard: [Leave open after merge]
Target Milestone: --- → mozilla14
Assignee: nalexander → rnewman
Product: Mozilla Services → Android Background Services
Product: Android Background Services → Firefox for Android
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.