Closed
Bug 1390203
Opened 8 years ago
Closed 8 years ago
Only grab highlights images on wifi
Categories
(Firefox for Android Graveyard :: Awesomescreen, enhancement, P1)
Tracking
(firefox57 fixed)
RESOLVED
FIXED
Firefox 57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: mcomella, Assigned: mcomella)
References
Details
(Whiteboard: [mobileAS] 1.28)
Attachments
(2 files)
We originally wanted to get these images from Gecko if we had them so we don't download multiple large images (bug 1322501). However, we weren't sure if it was really important so we filed a bug to identify how large these images were (bug 1388415).
However, we don't want to invest time in that stream of bugs so we're going to take a shortcut and only grab these images on wifi.
Assignee | ||
Comment 1•8 years ago
|
||
These bugs add the code to download the image.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → michael.l.comella
Comment hidden (mozreview-request) |
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8899928 [details]
Bug 1390203: Only get highlight images on wifi.
https://reviewboard.mozilla.org/r/171264/#review176410
LGTM.
::: mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/StreamOverridablePageIconLayout.java:65
(Diff revision 1)
> + final NetworkUtils.ConnectionType connectionType = NetworkUtils.getConnectionType(
> + (ConnectivityManager) getContext().getSystemService(Context.CONNECTIVITY_SERVICE));
> + if (connectionType == NetworkUtils.ConnectionType.WIFI &&
> + !TextUtils.isEmpty(overrideImageURL)) {
nit: Is it time for a NetworkUtils.isWiFi method? :)
Attachment #8899928 -
Flags: review?(s.kaspari) → review+
Assignee | ||
Updated•8 years ago
|
Iteration: --- → 1.28
Whiteboard: [mobileAS] → [mobileAS] 1.28
Assignee | ||
Updated•8 years ago
|
Priority: P2 → P1
Assignee | ||
Comment 4•8 years ago
|
||
> nit: Is it time for a NetworkUtils.isWiFi method? :)
lol, yeah, maybe.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8899928 -
Flags: review+ → review?(s.kaspari)
Comment 7•8 years ago
|
||
mozreview-review |
Comment on attachment 8900052 [details]
Bug 1390203: Add NetworkUtils.isWifi.
https://reviewboard.mozilla.org/r/171392/#review176856
Attachment #8900052 -
Flags: review?(s.kaspari) → review+
Comment 8•8 years ago
|
||
mozreview-review |
Comment on attachment 8899928 [details]
Bug 1390203: Only get highlight images on wifi.
https://reviewboard.mozilla.org/r/171264/#review176858
Attachment #8899928 -
Flags: review?(s.kaspari) → review+
Pushed by michael.l.comella@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/772283005b0d
Add NetworkUtils.isWifi. r=sebastian
https://hg.mozilla.org/integration/autoland/rev/b1779a4ff84a
Only get highlight images on wifi. r=sebastian
I had to back out bug 1390356, and these patches made changes the same files so had to be backed out in https://hg.mozilla.org/integration/autoland/rev/54d1572562d1
Flags: needinfo?(michael.l.comella)
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(michael.l.comella)
Comment 11•8 years ago
|
||
Pushed by michael.l.comella@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/c3726830fb8d
Add NetworkUtils.isWifi. r=sebastian
https://hg.mozilla.org/integration/autoland/rev/30602859cba7
Only get highlight images on wifi. r=sebastian
![]() |
||
Comment 12•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c3726830fb8d
https://hg.mozilla.org/mozilla-central/rev/30602859cba7
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•