Skip to content

Commit b1a4904

Browse files
authored
Support for background search (#110)
1 parent 63d6ba2 commit b1a4904

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

readium/lcp/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
**Warning:** Features marked as *experimental* may change or be removed in a future release without notice. Use with caution.
5+
**Warning:** Features marked as *alpha* may change or be removed in a future release without notice. Use with caution.
66

77
<!-- ## [Unreleased] -->
88

readium/lcp/r2-lcp/src/main/java/org/readium/r2/lcp/LcpDecryptorTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import org.readium.r2.shared.fetcher.Resource
1414
import org.readium.r2.shared.fetcher.mapCatching
1515
import org.readium.r2.shared.publication.Publication
1616
import org.readium.r2.shared.util.getOrElse
17+
import org.readium.r2.shared.util.use
1718
import timber.log.Timber
18-
import java.lang.IllegalStateException
1919
import kotlin.math.ceil
2020

2121
suspend fun Publication.checkDecryption() {

readium/lcp/r2-lcp/src/main/java/org/readium/r2/lcp/LcpException.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import org.readium.r2.shared.UserException
1212
import java.net.SocketTimeoutException
1313
import java.util.*
1414

15-
sealed class LcpException(userMessageId: Int, vararg args: Any, quantity: Int? = null, cause: Throwable? = null) : UserException(userMessageId, args, quantity, cause) {
15+
sealed class LcpException(userMessageId: Int, vararg args: Any, quantity: Int? = null, cause: Throwable? = null) : UserException(userMessageId, quantity, *args, cause = cause) {
1616
constructor(@StringRes userMessageId: Int, vararg args: Any, cause: Throwable? = null) : this(userMessageId, *args, quantity = null, cause = cause)
1717
constructor(@PluralsRes userMessageId: Int, quantity: Int, vararg args: Any, cause: Throwable? = null) : this(userMessageId, *args, quantity = quantity, cause = cause)
1818

0 commit comments

Comments
 (0)