mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
Move md5()
extension to api package
This commit is contained in:
parent
0cb770334c
commit
ccce552097
9 changed files with 9 additions and 9 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue