Download with DownloadManager

This commit is contained in:
topjohnwu
2016-08-27 19:02:41 +08:00
parent c44ce77e95
commit 830fde8007
14 changed files with 217 additions and 224 deletions
@@ -36,8 +36,7 @@ public class StreamGobbler extends Thread {
try {
String line;
while ((line = reader.readLine()) != null) {
if (!line.replaceAll("\\s", "").isEmpty())
writer.add(line);
writer.add(line);
}
} catch (IOException e) {
// reader probably closed, expected exit condition