mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-05-03 06:20:11 +00:00
parent
f120800a7f
commit
dceccae0b7
487 changed files with 23032 additions and 9363 deletions
|
|
@ -96,7 +96,7 @@ public class FileStreamLoadOperation extends BaseDataSource implements FileLoadO
|
|||
readLength = (int) bytesRemaining;
|
||||
}
|
||||
while (availableLength == 0 && opened) {
|
||||
availableLength = loadOperation.getDownloadedLengthFromOffset(currentOffset, readLength);
|
||||
availableLength = loadOperation.getDownloadedLengthFromOffset(currentOffset, readLength)[0];
|
||||
if (availableLength == 0) {
|
||||
FileLoader.getInstance(currentAccount).loadStreamFile(this, document, parentObject, currentOffset, false);
|
||||
countDownLatch = new CountDownLatch(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue