mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-25 22:12:09 -04:00
Refactor isBookAdded in WebServerHelper
This commit is contained in:
parent
c37d9ec9b0
commit
0003992907
@ -63,7 +63,7 @@ public class WebServerHelper {
|
|||||||
for (String path : selectedBooksPath) {
|
for (String path : selectedBooksPath) {
|
||||||
try {
|
try {
|
||||||
boolean isBookAdded = kiwixLibrary.addBook(path);
|
boolean isBookAdded = kiwixLibrary.addBook(path);
|
||||||
Log.v(TAG, "Book added:" + path);
|
Log.v(TAG, "isBookAdded: " + isBookAdded + path);
|
||||||
} catch (JNIKiwixException e) {
|
} catch (JNIKiwixException e) {
|
||||||
Log.v(TAG, "Couldn't add book " + path);
|
Log.v(TAG, "Couldn't add book " + path);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user