Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

Commit

Permalink
update version of jlibtorrent 1.2.14.1 (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
viettranhoang authored Nov 5, 2021
1 parent 3633388 commit 8ff299b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ android {
}

ext {
libtorrentVersion = '1.2.5.0'
libtorrentVersion = '1.2.14.1'
}

// Custom task which downloads the appropriate version of JAR files for jlibtorrent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@ public void setSelectedFileIndex(Integer selectedFileIndex) {
}
}
}

if (firstPieceIndexLocal == -1) {
firstPieceIndexLocal = 0;
}
if (lastPieceIndexLocal == -1) {
lastPieceIndexLocal = piecePriorities.length - 1;
}
Expand Down

0 comments on commit 8ff299b

Please sign in to comment.