Closed Bug 774432 Opened 12 years ago Closed 11 years ago

Investigate auto-download of Nightly/Aurora updates when using WiFi

Categories

(Firefox for Android Graveyard :: General, defect, P2)

ARM
Android
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: cpeterson, Assigned: cpeterson)

References

Details

(Whiteboard: [Updater])

Here are some misc ideas about improving the Fennec updater for Nightly and Aurora channels:

* Download updates using Android Service so download can continue after user exits Firefox.

* Possible heuristics for automatically downloading updates over WiFi:

  if update is available {
      if WiFi is connected {
          Automatically download update.
          Notify user a downloaded update is ready to be installed.
      } else {
          WiFi is disconnected (but enabled) or disabled.
          if Firefox has used WiFi recently (less < X days ago) {
              Wait Y hours for WiFi connection and try again.
          } else {
              Notify user an update is ready to be downloaded.
          }
      }
  }

* Add download preference UI?
  (*) "Automatically download updates (Wi-Fi only)" (Default?)
  ( ) "Automatically download updates (Wi-Fi or Mobile network)"
  ( ) "Check for updates, but let me choose whether to download them"

* Delay update notification until Fennec has been running for X minutes? Users typically have a specific goal in mind when they launch the browser. We don't want to annoy them by getting in their way with an immediate update notification.
FWIW: ConnectivityManager has some methods that might help us use System prefs here rather than adding our own. Then again, they look mostly related to background data usage and even those are confusingly deprecated in ICS....

http://developer.android.com/reference/android/net/ConnectivityManager.html
More FWIW: The Mozilla Updater already has built-in "Delay update notification until Fennec has been running for X minutes" and I don't think we need to add any UI prefs.

In fact, I don't think we need to add any prefs for this as long as it is not being used for Beta/Release. As long as it's Nightly/Aurora, we can just add the logic to the existing code.
FWIW, the UI prefs were blassey's idea. <:)
Depends on: 786380
Whiteboard: [Updater]
Snorp's rewrite of Fennec's updater implemented this feature.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.