Skip to content

Commit

Permalink
Add logging (#3138)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomas2 committed Dec 28, 2023
1 parent 9ae83e0 commit 933d759
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ object BackupControl {
CommonUtils.fixAlertDialogButtons(dialog)
}
}
Log.i(TAG, "Selected modules to be backed up: ${result?.joinToString(",") { it.initials }}")
return result
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package net.bible.service.sword

import android.Manifest
import android.content.pm.PackageManager
import android.util.Log
import androidx.core.content.ContextCompat
import net.bible.android.BibleApplication.Companion.application
import net.bible.android.SharedConstants
Expand Down Expand Up @@ -89,6 +90,7 @@ object SwordEnvironmentInitialisation {

@Throws(BookException::class)
fun enableDefaultAndManualInstallFolder() {
Log.i("SwordInit", "enableDefaultAndManualInstallFolder: manual folders enabled!")
CWProject.setHome("jsword.home", SharedConstants.modulesDir.absolutePath, SharedConstants.manualInstallDir.absolutePath)
// the following causes Sword to initialise itself and can take quite a few seconds
// add manual install dir to this list
Expand Down

0 comments on commit 933d759

Please sign in to comment.