Closed Bug 812545 Opened 12 years ago Closed 12 years ago

[OTA update] Update should handle change of wifi

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: nhirata, Unassigned)

References

Details

(Whiteboard: [feedback])

## Environment :
Unagi phone, build 20121115
  
## Repro :
1. start downloading the update
2. change wifi networks

## Expected :
1. the download would stop and restart or pause/resume

## Actual :
1. the download icon will spin and spin but no download will be occurring.

## Note :
From Feedback
blocking-basecamp: --- → ?
Etienne Is it in Gaia or Gecko ?
Flags: needinfo?(etienne)
Depends on: 791829
Could you please attach a log?
I think we voluntarily don't do this.

The thing is we can't really know if we're switching from wifi to wifi or from wifi to 3G.

And for the wifi -> 3G case the user might get billed if we auto-magically resume the download... so we just display a download error and let the user restart the update manually.

That said if we're not displaying an error and stoping the spinner after a reasonable amount of time, it's a bug and it should be updated accordingly.
Flags: needinfo?(etienne)
CCing Marshall, I've heard that we want to only update on wifi, but I haven't seen any code that handles that myself.
Component: Gaia → Gaia::System
(In reply to Brian R. Bondy [:bbondy] from comment #4)
> CCing Marshall, I've heard that we want to only update on wifi, but I
> haven't seen any code that handles that myself.

No, we're allowing download over 3G in v1, mainly because per Etienne, we were unable in v1 scope to differentiate between connection types.
Assignee: nobody → etienne
blocking-basecamp: ? → +
Priority: -- → P3
(In reply to Etienne Segonzac (:etienne) from comment #3)
> That said if we're not displaying an error and stoping the spinner after a
> reasonable amount of time, it's a bug and it should be updated accordingly.

Yep, exactly. Error should be displayed. Which is covered by bug 812584, so am marking this WONTFIX.
Assignee: etienne → nobody
Status: NEW → RESOLVED
blocking-basecamp: + → ---
Closed: 12 years ago
Priority: P3 → --
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.