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)

All
iOS
enhancement
Not set
normal

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.
Can this logic be connected to the SyncReason that we have?
This is a pretty good small incremental improvement that we could ship for 8.2 probably.
Whiteboard: [Sync]
(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.
Assignee: nobody → sarentz
Attachment #8896418 - Flags: review?(sarentz)
Assignee: sarentz → fpatel
Landed on master, uplifted to v8.x
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Attachment #8896418 - Flags: review?(sarentz) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: