Closed Bug 783909 Opened 12 years ago Closed 12 years ago

Fixup app update timer prefs

Categories

(Firefox for Android Graveyard :: General, defect)

16 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(firefox16 fixed)

RESOLVED FIXED
Firefox 17
Tracking Status
firefox16 --- fixed

People

(Reporter: mfinkle, Unassigned)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
Fennec has used the app.update.timer pref for a long time. It was used to start the UpdateTimer system which is used to kickoff many of the background timers used by Gecko, including the update and blocklist pings.

This pref was dropped and a new one added (app.update.timerFirstInterval). The new pref was added to mobile.js, but was placed in the MOZ_UPDATER section, which is only used for non-official builds (nightly and aurora). Therefore, Fennec was using the default 120 seconds for official builds.

This patch:
* removes the unused app.update.timer pref
* adds the two new prefs outside the MOZ_UPDATER section of mobile.js using the same 30secs as used by b2g.
* cleans up a dupe of app.update.showInstallUI

If my theory about Fennec using 120 secs before doing a blocklist ping is true, we should see an affect on ADIs.
Attachment #653201 - Flags: review?(blassey.bugs)
Attachment #653201 - Flags: review?(blassey.bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/4d22460a96ea
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 17
Comment on attachment 653201 [details] [diff] [review]
patch

[Approval Request Comment]
Bug caused by (feature/regressing bug #): Since app.update.timer is no longer used, we stopped getting pings in 30sec and started getting pings in 2mins (the default) for release builds. On mobile devices this might be too long to get a ping before the browser is closed.
User impact if declined: should only affect blocklist ping timing
Testing completed (on m-c, etc.): a few nights
Risk to taking this patch (and alternatives if risky): might cause changes in reported ADIs (more accurate)
String or UUID changes made by this patch: none
Attachment #653201 - Flags: approval-mozilla-beta?
Attachment #653201 - Flags: approval-mozilla-aurora?
Comment on attachment 653201 [details] [diff] [review]
patch

Too late for beta, we're already signed off for release on our b6. Approving for Aurora.
Attachment #653201 - Flags: approval-mozilla-beta?
Attachment #653201 - Flags: approval-mozilla-beta-
Attachment #653201 - Flags: approval-mozilla-aurora?
Attachment #653201 - Flags: approval-mozilla-aurora+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: