Move md5() extension to api package

This commit is contained in:
Benoit Marty 2022-04-11 10:56:07 +02:00 committed by Benoit Marty
parent 0cb770334c
commit ccce552097
9 changed files with 9 additions and 9 deletions

View file

@ -18,7 +18,7 @@ package org.matrix.android.sdk.api.auth.data
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import org.matrix.android.sdk.internal.util.md5
import org.matrix.android.sdk.api.util.md5
/**
* This data class hold credentials user data.

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.matrix.android.sdk.internal.util
package org.matrix.android.sdk.api.util
import java.security.MessageDigest
import java.util.Locale

View file

@ -32,7 +32,7 @@ import org.matrix.android.sdk.internal.crypto.store.db.RealmCryptoStoreModule
import org.matrix.android.sdk.internal.database.RealmKeysUtils
import org.matrix.android.sdk.internal.legacy.riot.LoginStorage
import org.matrix.android.sdk.internal.network.ssl.Fingerprint
import org.matrix.android.sdk.internal.util.md5
import org.matrix.android.sdk.api.util.md5
import timber.log.Timber
import java.io.File
import javax.inject.Inject

View file

@ -37,7 +37,7 @@ import org.matrix.android.sdk.internal.di.SessionDownloadsDirectory
import org.matrix.android.sdk.internal.di.UnauthenticatedWithCertificateWithProgress
import org.matrix.android.sdk.internal.session.download.DownloadProgressInterceptor.Companion.DOWNLOAD_PROGRESS_INTERCEPTOR_HEADER
import org.matrix.android.sdk.internal.util.file.AtomicFileCreator
import org.matrix.android.sdk.internal.util.md5
import org.matrix.android.sdk.api.util.md5
import org.matrix.android.sdk.internal.util.writeToFile
import timber.log.Timber
import java.io.File

View file

@ -98,7 +98,7 @@ import org.matrix.android.sdk.internal.session.securestorage.DefaultSecureStorag
import org.matrix.android.sdk.internal.session.typing.DefaultTypingUsersTracker
import org.matrix.android.sdk.internal.session.user.accountdata.DefaultSessionAccountDataService
import org.matrix.android.sdk.internal.session.widgets.DefaultWidgetURLFormatter
import org.matrix.android.sdk.internal.util.md5
import org.matrix.android.sdk.api.util.md5
import retrofit2.Retrofit
import java.io.File
import javax.inject.Provider

View file

@ -22,7 +22,7 @@ import okio.buffer
import okio.source
import org.matrix.android.sdk.api.session.sync.model.RoomSyncEphemeral
import org.matrix.android.sdk.internal.di.SessionFilesDirectory
import org.matrix.android.sdk.internal.util.md5
import org.matrix.android.sdk.api.util.md5
import timber.log.Timber
import java.io.File
import javax.inject.Inject

View file

@ -19,7 +19,7 @@ package org.matrix.android.sdk.internal.crypto.store.db
import org.junit.Assert.assertEquals
import org.junit.Test
import org.matrix.android.sdk.MatrixTest
import org.matrix.android.sdk.internal.util.md5
import org.matrix.android.sdk.api.util.md5
class HelperTest : MatrixTest {

View file

@ -22,7 +22,7 @@ import androidx.datastore.preferences.core.stringPreferencesKey
import im.vector.app.core.extensions.dataStoreProvider
import im.vector.app.features.onboarding.FtueUseCase
import kotlinx.coroutines.flow.first
import org.matrix.android.sdk.internal.util.md5
import org.matrix.android.sdk.api.util.md5
/**
* User session scoped storage for:

View file

@ -21,7 +21,7 @@ import android.media.MediaRecorder
import android.net.Uri
import android.os.Build
import org.matrix.android.sdk.api.session.content.ContentAttachmentData
import org.matrix.android.sdk.internal.util.md5
import org.matrix.android.sdk.api.util.md5
import java.io.File
import java.io.FileOutputStream
import java.util.UUID