Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package net.thunderbird.core.android.account

import androidx.annotation.Discouraged
import com.fsck.k9.mail.Address
import com.fsck.k9.mail.ServerSettings
import java.util.Calendar
Expand All @@ -21,7 +22,10 @@ const val DEFAULT_VISIBLE_LIMIT = 25
/**
* Account stores all of the settings for a single account defined by the user. Each account is defined by a UUID.
*/
@Deprecated(message = "Use LegacyAccount instead, this class is only for compatibility with existing code.")
@Discouraged(
message = "Use net.thunderbird.core.android.account.LegacyAccount instead, " +
"this class is only for compatibility with existing code.",
)
@Suppress("TooManyFunctions")
open class LegacyAccountDto(
override val uuid: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
package net.thunderbird.core.android.account

import androidx.annotation.Discouraged
import kotlinx.coroutines.flow.Flow
import net.thunderbird.feature.mail.account.api.AccountManager

@Deprecated(
message = "Use net.thunderbird.core.android.account.LegacyAccountManager instead",
replaceWith = ReplaceWith(
expression = "LegacyAccountManager",
"net.thunderbird.core.android.account.LegacyAccountManager",
),
@Discouraged(
message = "Use net.thunderbird.core.android.account.LegacyAccountManager instead.",
)
interface LegacyAccountDtoManager : AccountManager<LegacyAccountDto> {
override fun getAccounts(): List<LegacyAccountDto>
Expand Down
Loading