Even if we don't know the actual content size, we still want to show that something is going on

This commit is contained in:
Rustam.Vishnyakov
2011-08-10 15:52:06 +04:00
parent 8935eebc2b
commit 79bdbd4021
@@ -110,6 +110,7 @@ public class NetUtils {
int expectedContentSize) throws IOException, ProcessCanceledException {
if (indicator != null) {
indicator.checkCanceled();
if (expectedContentSize < 0) indicator.setIndeterminate(true);
}
final byte[] buffer = new byte[4 * 1024];