Closed
Bug 1386863
Opened 8 years ago
Closed 8 years ago
Don't notify NotificationProfileDidFinishSyncing when syncing in the background
Categories
(Firefox for iOS :: Sync, enhancement)
Tracking
()
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| fxios | 8.2 | --- |
People
(Reporter: rnewman, Assigned: farhan)
Details
(Whiteboard: [Sync])
Attachments
(1 file)
This is a one-line change that will avoid us trying to upload telemetry, invalidate top sites, etc. when we sync on exit.
Comment 1•8 years ago
|
||
Can this logic be connected to the SyncReason that we have?
Updated•8 years ago
|
tracking-fxios:
--- → 8.2
Comment 2•8 years ago
|
||
This is a pretty good small incremental improvement that we could ship for 8.2 probably.
Updated•8 years ago
|
Whiteboard: [Sync]
| Reporter | ||
Comment 3•8 years ago
|
||
(In reply to Stefan Arentz [:st3fan] from comment #1)
> Can this logic be connected to the SyncReason that we have?
Not directly: the only thing we send in the notification is a display state (e.g., in progress, failed).
We could add a reason to that, or we could send a different notification for a background sync.
We use this notification to:
- Update UI from in progress to done (hiding spinners and such).
- Invalidate top sites.
Ideally the UI doesn't need the former if we're backgrounded (most listeners unlink themselves anyway).
I just noticed that we send telemetry in endSyncing, not via notification.
Comment 4•8 years ago
|
||
Assignee: nobody → sarentz
Attachment #8896418 -
Flags: review?(sarentz)
Updated•8 years ago
|
Assignee: sarentz → fpatel
Comment 5•8 years ago
|
||
Landed on master, uplifted to v8.x
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Attachment #8896418 -
Flags: review?(sarentz) → review+
You need to log in
before you can comment on or make changes to this bug.
Description
•