Open Bug 1792950 Opened 4 years ago Updated 2 years ago

Wait until WiFi is avaliable before starting downloads

Categories

(Firefox for Android :: Downloads, enhancement, P3)

All
Android
enhancement

Tracking

()

People

(Reporter: csadilek, Unassigned)

References

(Blocks 1 open bug)

Details

From github: https://github.com/mozilla-mobile/android-components/issues/3677.

Update the download feature so that, optionally, new downloads are en-queued until WiFi is available. Downloads should not start when only connected to mobile data.

┆Issue is synchronized with this Jira Task

Change performed by the Move to Bugzilla add-on.

The severity field is not set for this bug.
:cpeterson, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(cpeterson)
Severity: -- → N/A
Type: defect → enhancement
Priority: -- → P3
Flags: needinfo?(cpeterson)

singtel 4g. me too. painful.

Android's DownloadManager has this API setAllowedNetworkTypes

However AbstractFetchDownloadService (more clearly: GeckoViewFetchClient) has no such ability. (To achieve that, perhaps widget/android/WebExecutorSupport.cpp need to add pause ability) (Maybe can achieve via ACTION_PAUSE/ACTION_RESUME on addOnWifiConnectedChangedListener?)

Off-topic:
There' should be a meta task about Connectivity. (such as 1. should we forbid auto sync when using cellular data ? 2. should we pause download when cellular data and auto resume when WIFI )
Currently, there's only autoplay permission checking Connectivity.

See Also: → 1839758
Blocks: 1904019
You need to log in before you can comment on or make changes to this bug.