mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 14:25:28 +00:00
build: uprev dependencies
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
@@ -6,7 +6,6 @@ package com.zeapo.pwdstore.utils
|
||||
|
||||
import android.app.KeyguardManager
|
||||
import androidx.annotation.StringRes
|
||||
import androidx.biometric.BiometricConstants
|
||||
import androidx.biometric.BiometricManager
|
||||
import androidx.biometric.BiometricManager.Authenticators
|
||||
import androidx.biometric.BiometricPrompt
|
||||
@@ -43,12 +42,12 @@ object BiometricAuthenticator {
|
||||
super.onAuthenticationError(errorCode, errString)
|
||||
tag(TAG).d { "BiometricAuthentication error: errorCode=$errorCode, msg=$errString" }
|
||||
callback(when (errorCode) {
|
||||
BiometricConstants.ERROR_CANCELED, BiometricConstants.ERROR_USER_CANCELED,
|
||||
BiometricConstants.ERROR_NEGATIVE_BUTTON -> {
|
||||
BiometricPrompt.ERROR_CANCELED, BiometricPrompt.ERROR_USER_CANCELED,
|
||||
BiometricPrompt.ERROR_NEGATIVE_BUTTON -> {
|
||||
Result.Cancelled
|
||||
}
|
||||
BiometricConstants.ERROR_HW_NOT_PRESENT, BiometricConstants.ERROR_HW_UNAVAILABLE,
|
||||
BiometricConstants.ERROR_NO_BIOMETRICS, BiometricConstants.ERROR_NO_DEVICE_CREDENTIAL -> {
|
||||
BiometricPrompt.ERROR_HW_NOT_PRESENT, BiometricPrompt.ERROR_HW_UNAVAILABLE,
|
||||
BiometricPrompt.ERROR_NO_BIOMETRICS, BiometricPrompt.ERROR_NO_DEVICE_CREDENTIAL -> {
|
||||
Result.HardwareUnavailableOrDisabled
|
||||
}
|
||||
else -> Result.Failure(errorCode, activity.getString(R.string.biometric_auth_error_reason, errString))
|
||||
|
@@ -26,15 +26,15 @@ object Dependencies {
|
||||
|
||||
private const val lifecycleVersion = "2.3.0-alpha07"
|
||||
|
||||
const val activity_ktx = "androidx.activity:activity-ktx:1.2.0-alpha08"
|
||||
const val activity_ktx = "androidx.activity:activity-ktx:1.2.0-beta01"
|
||||
const val annotation = "androidx.annotation:annotation:1.1.0"
|
||||
const val autofill = "androidx.autofill:autofill:1.1.0-alpha02"
|
||||
const val appcompat = "androidx.appcompat:appcompat:1.3.0-alpha02"
|
||||
const val biometric = "androidx.biometric:biometric:1.1.0-alpha02"
|
||||
const val biometric = "androidx.biometric:biometric:1.1.0-beta01"
|
||||
const val constraint_layout = "androidx.constraintlayout:constraintlayout:2.0.1"
|
||||
const val core_ktx = "androidx.core:core-ktx:1.5.0-alpha02"
|
||||
const val core_ktx = "androidx.core:core-ktx:1.5.0-alpha03"
|
||||
const val documentfile = "androidx.documentfile:documentfile:1.0.1"
|
||||
const val fragment_ktx = "androidx.fragment:fragment-ktx:1.3.0-alpha08"
|
||||
const val fragment_ktx = "androidx.fragment:fragment-ktx:1.3.0-beta01"
|
||||
const val lifecycle_common = "androidx.lifecycle:lifecycle-common-java8:$lifecycleVersion"
|
||||
const val lifecycle_livedata_ktx = "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycleVersion"
|
||||
const val lifecycle_viewmodel_ktx = "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycleVersion"
|
||||
|
Reference in New Issue
Block a user