and more fixes
* fix content length reading * use float overflow. Expensive, double is used instead * fix invalid cast after click the mission body * use a list for maximum attemps (downloads) * minor clean up (DownloadManager.java) * dont pass SharedPreferences instace to DownloadManager * use a switch instead of checkbox for cross_network_downloads * notify media scanner after deleting a finished download
This commit is contained in:
parent
d647555e3a
commit
f3d4d4747a
12 changed files with 111 additions and 52 deletions
|
|
@ -89,7 +89,7 @@ public class DownloadRunnable implements Runnable {
|
|||
end = mMission.length - 1;
|
||||
}
|
||||
|
||||
int total = 0;
|
||||
long total = 0;
|
||||
|
||||
try {
|
||||
HttpURLConnection conn = mMission.openConnection(mId, start, end);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue