Asphanyaar / zirco-browser

Automatically exported from code.google.com/p/zirco-browser
Other
0 stars 0 forks source link

File appears to be downloading when network disconnected #65

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start a download.
2. Turn off wifi
3. Notice the icon and download activity suggest that the file is still 
downloading.
4. Reconnect wifi, notice that it still appears to be downloading, but is 
actually stuck at the same point forever.

What is the expected output? What do you see instead?
Download should be canceled, perhaps with an error message ("Sorry, timed out" 
or similar).

What version of the product are you using? On what operating system?
0.4.4 (18) on Android 2.2.2

Please provide any additional information below.
I noticed the same issue in my app, I solved the problem with a timer:
http://stackoverflow.com/questions/6829801/httpurlconnection-setconnecttimeout-h
as-no-effect/11790633#11790633

Original issue reported on code.google.com by luke...@msn.com on 6 Aug 2012 at 9:31