Fixup app update timer prefs

RESOLVED FIXED in Firefox 16

Status

()

Firefox for Android
General
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: mfinkle, Unassigned)

Tracking

16 Branch
Firefox 17
x86_64
Linux
Points:
---

Firefox Tracking Flags

(firefox16 fixed)

Details

Attachments

(1 attachment)

Created attachment 653201 [details] [diff] [review]
patch

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+
http://hg.mozilla.org/integration/mozilla-inbound/rev/4d22460a96ea
https://hg.mozilla.org/mozilla-central/rev/4d22460a96ea
Status: NEW → RESOLVED
Last Resolved: 5 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+
http://hg.mozilla.org/releases/mozilla-aurora/rev/94e84c4f1c8e
status-firefox16: --- → fixed
You need to log in before you can comment on or make changes to this bug.