mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
Use kotlin string builder
This commit is contained in:
parent
cd16d3f19b
commit
2bf36c74e3
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ internal class MXOutboundSessionInfo(
|
|||
val sessionLifetime = System.currentTimeMillis() - creationTime
|
||||
|
||||
if (useCount >= rotationPeriodMsgs || sessionLifetime >= rotationPeriodMs) {
|
||||
Timber.v("## needsRotation() : Rotating megolm session after " + useCount + ", " + sessionLifetime + "ms")
|
||||
Timber.v("## needsRotation() : Rotating megolm session after $useCount, ${sessionLifetime}ms")
|
||||
needsRotation = true
|
||||
}
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ internal class ThumbnailExtractor @Inject constructor(
|
|||
thumbnail.recycle()
|
||||
outputStream.reset()
|
||||
} ?: run {
|
||||
Timber.e("Cannot extract video thumbnail at %s", attachment.queryUri.toString())
|
||||
Timber.e("Cannot extract video thumbnail at ${attachment.queryUri}")
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
Timber.e(e, "Cannot extract video thumbnail")
|
||||
|
|
Loading…
Reference in a new issue