mirror of
https://github.com/bitwarden/android.git
synced 2026-03-19 13:36:39 -05:00
[PM-12166] Update detekt (#196)
This commit is contained in:
@@ -128,6 +128,7 @@ class ExampleInstrumentedTest {
|
||||
Screengrab.screenshot("UniqueCodesSlide_Light")
|
||||
}
|
||||
|
||||
@Suppress("UndocumentedPublicClass")
|
||||
companion object {
|
||||
@JvmField
|
||||
@ClassRule
|
||||
|
||||
@@ -21,6 +21,7 @@ enum class AuthenticatorItemAlgorithm {
|
||||
SHA512,
|
||||
;
|
||||
|
||||
@Suppress("UndocumentedPublicClass")
|
||||
companion object {
|
||||
/**
|
||||
* Returns a [AuthenticatorItemAlgorithm] with a name matching [value], or null.
|
||||
|
||||
@@ -16,6 +16,7 @@ enum class AuthenticatorItemType {
|
||||
STEAM,
|
||||
;
|
||||
|
||||
@Suppress("UndocumentedPublicClass")
|
||||
companion object {
|
||||
|
||||
/**
|
||||
|
||||
@@ -25,6 +25,7 @@ interface TotpCodeManager {
|
||||
item: AuthenticatorItemEntity,
|
||||
): StateFlow<DataState<VerificationCodeItem?>>
|
||||
|
||||
@Suppress("UndocumentedPublicClass")
|
||||
companion object {
|
||||
const val ALGORITHM_PARAM = "algorithm"
|
||||
const val DIGITS_PARAM = "digits"
|
||||
|
||||
@@ -121,6 +121,7 @@ abstract class BaseDiskSource(
|
||||
.forEach { sharedPreferences.edit { remove(it) } }
|
||||
}
|
||||
|
||||
@Suppress("UndocumentedPublicClass")
|
||||
companion object {
|
||||
const val BASE_KEY: String = "bwPreferencesStorage"
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@ abstract class BaseEncryptedDiskSource(
|
||||
value: String?,
|
||||
): Unit = encryptedSharedPreferences.edit { putString(key, value) }
|
||||
|
||||
@Suppress("UndocumentedPublicClass")
|
||||
companion object {
|
||||
const val ENCRYPTED_BASE_KEY: String = "bwSecureStorage"
|
||||
}
|
||||
|
||||
@@ -426,6 +426,7 @@ data class EditItemState(
|
||||
) : DialogState()
|
||||
}
|
||||
|
||||
@Suppress("UndocumentedPublicClass")
|
||||
companion object {
|
||||
const val MIN_ALLOWED_CODE_DIGITS = 5
|
||||
const val MAX_ALLOWED_CODE_DIGITS = 10
|
||||
@@ -547,6 +548,7 @@ enum class AuthenticatorRefreshPeriodOption(val seconds: Int) {
|
||||
NINETY(seconds = 90),
|
||||
;
|
||||
|
||||
@Suppress("UndocumentedPublicClass")
|
||||
companion object {
|
||||
/**
|
||||
* Returns a [AuthenticatorRefreshPeriodOption] with the provided [seconds], or null.
|
||||
|
||||
@@ -16,6 +16,7 @@ class SearchHandlers(
|
||||
* Creates an instance of [SearchHandlers] by binding actions to the provided
|
||||
* [ItemSearchViewModel].
|
||||
*/
|
||||
@Suppress("UndocumentedPublicClass")
|
||||
companion object {
|
||||
/**
|
||||
* Creates an instance of [SearchHandlers] by binding actions to the provided
|
||||
|
||||
@@ -226,6 +226,7 @@ class SettingsViewModel @Inject constructor(
|
||||
)
|
||||
}
|
||||
|
||||
@Suppress("UndocumentedPublicClass")
|
||||
companion object {
|
||||
private fun createInitialState(
|
||||
clock: Clock,
|
||||
|
||||
@@ -28,7 +28,7 @@ androdixAutofill = "1.1.0"
|
||||
androidxWork = "2.9.1"
|
||||
bitwardenSdk = "0.4.0-20240314.115913-173"
|
||||
crashlytics = "3.0.2"
|
||||
detekt = "1.23.6"
|
||||
detekt = "1.23.7"
|
||||
espresso = "3.6.1"
|
||||
fastlaneScreengrab = "2.1.1"
|
||||
firebaseBom = "33.2.0"
|
||||
|
||||
Reference in New Issue
Block a user