Ktlint and format
This commit is contained in:
parent
327ac2e17b
commit
abee136867
@ -36,10 +36,9 @@ data class CryptoTestData(val roomId: String,
|
||||
}
|
||||
}
|
||||
|
||||
fun initializeCrossSigning(testHelper: CryptoTestHelper){
|
||||
fun initializeCrossSigning(testHelper: CryptoTestHelper) {
|
||||
sessions.forEach {
|
||||
testHelper.initializeCrossSigning(it)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -269,7 +269,7 @@ class E2eeSanityTests : InstrumentedTest {
|
||||
newBobSession,
|
||||
e2eRoomID,
|
||||
MXCryptoError.ErrorType.UNABLE_TO_DECRYPT
|
||||
)//MXCryptoError.ErrorType.UNKNOWN_INBOUND_SESSION_ID)
|
||||
) // MXCryptoError.ErrorType.UNKNOWN_INBOUND_SESSION_ID)
|
||||
|
||||
// Let's now import keys from backup
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022 New Vector Ltd
|
||||
* Copyright (c) 2022 The Matrix.org Foundation C.I.C.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022 New Vector Ltd
|
||||
* Copyright (c) 2022 The Matrix.org Foundation C.I.C.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022 New Vector Ltd
|
||||
* Copyright (c) 2022 The Matrix.org Foundation C.I.C.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -20,7 +20,6 @@ import dagger.Lazy
|
||||
import kotlinx.coroutines.withContext
|
||||
import org.matrix.android.sdk.api.MatrixCoroutineDispatchers
|
||||
import org.matrix.android.sdk.api.logger.LoggerTag
|
||||
import org.matrix.android.sdk.api.session.crypto.keysbackup.BackupRecoveryKey
|
||||
import org.matrix.android.sdk.api.session.crypto.keysbackup.KeysVersionResult
|
||||
import org.matrix.android.sdk.api.session.crypto.keysbackup.SavedKeyBackupKeyInfo
|
||||
import org.matrix.android.sdk.internal.crypto.keysbackup.RustKeyBackupService
|
||||
|
@ -46,7 +46,7 @@ internal class SasVerification @AssistedInject constructor(
|
||||
interface Factory {
|
||||
fun create(inner: Sas): SasVerification
|
||||
}
|
||||
|
||||
|
||||
private val innerMachine = olmMachine.inner()
|
||||
|
||||
private fun dispatchTxUpdated() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022 New Vector Ltd
|
||||
* Copyright (c) 2022 The Matrix.org Foundation C.I.C.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022 New Vector Ltd
|
||||
* Copyright (c) 2022 The Matrix.org Foundation C.I.C.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -48,7 +48,7 @@ internal class QrCodeVerification @AssistedInject constructor(
|
||||
interface Factory {
|
||||
fun create(request: VerificationRequest, inner: QrCode?): QrCodeVerification
|
||||
}
|
||||
|
||||
|
||||
private val innerMachine = olmMachine.inner()
|
||||
|
||||
private fun dispatchTxUpdated() {
|
||||
|
@ -22,7 +22,6 @@ import org.matrix.android.sdk.api.MatrixCoroutineDispatchers
|
||||
import org.matrix.android.sdk.api.auth.data.SessionParams
|
||||
import org.matrix.android.sdk.api.session.Session
|
||||
import org.matrix.android.sdk.internal.crypto.CryptoModule
|
||||
import org.matrix.android.sdk.internal.crypto.OlmMachine
|
||||
import org.matrix.android.sdk.internal.di.MatrixComponent
|
||||
import org.matrix.android.sdk.internal.federation.FederationModule
|
||||
import org.matrix.android.sdk.internal.network.NetworkConnectivityChecker
|
||||
@ -113,7 +112,7 @@ internal interface SessionComponent {
|
||||
|
||||
fun networkConnectivityChecker(): NetworkConnectivityChecker
|
||||
|
||||
//fun olmMachine(): OlmMachine
|
||||
// fun olmMachine(): OlmMachine
|
||||
|
||||
fun taskExecutor(): TaskExecutor
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user