diff options
| author | (´⌣`ʃƪ) <pt2121@users.noreply.github.com> | 2021-10-03 01:32:15 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-03 14:02:15 +0530 |
| commit | 2cef6a5bb4cb4afb1b1f1b704f83c1565e441825 (patch) | |
| tree | 92db72d9578a0093d09e83d8c244b51b38cab10c /app/src/main/java/dev/msfjarvis/aps/util/auth | |
| parent | c4df226cfd4efcfdd4aae332d1ac598336821fa7 (diff) | |
| download | HardenedPass-2cef6a5bb4cb4afb1b1f1b704f83c1565e441825.tar.gz HardenedPass-2cef6a5bb4cb4afb1b1f1b704f83c1565e441825.zip | |
Replace Timber with logcat (#1509)
* Replace Timber with logcat (#1505)
* Add extension for asLog which takes a message param
Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
Diffstat (limited to 'app/src/main/java/dev/msfjarvis/aps/util/auth')
| -rw-r--r-- | app/src/main/java/dev/msfjarvis/aps/util/auth/BiometricAuthenticator.kt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/src/main/java/dev/msfjarvis/aps/util/auth/BiometricAuthenticator.kt b/app/src/main/java/dev/msfjarvis/aps/util/auth/BiometricAuthenticator.kt index 7236ac7c..a582337b 100644 --- a/app/src/main/java/dev/msfjarvis/aps/util/auth/BiometricAuthenticator.kt +++ b/app/src/main/java/dev/msfjarvis/aps/util/auth/BiometricAuthenticator.kt @@ -12,9 +12,8 @@ import androidx.biometric.BiometricPrompt import androidx.core.content.ContextCompat import androidx.core.content.getSystemService import androidx.fragment.app.FragmentActivity -import com.github.ajalt.timberkt.Timber.tag -import com.github.ajalt.timberkt.d import dev.msfjarvis.aps.R +import logcat.logcat object BiometricAuthenticator { @@ -43,7 +42,7 @@ object BiometricAuthenticator { object : BiometricPrompt.AuthenticationCallback() { override fun onAuthenticationError(errorCode: Int, errString: CharSequence) { super.onAuthenticationError(errorCode, errString) - tag(TAG).d { "BiometricAuthentication error: errorCode=$errorCode, msg=$errString" } + logcat(TAG) { "BiometricAuthentication error: errorCode=$errorCode, msg=$errString" } callback( when (errorCode) { BiometricPrompt.ERROR_CANCELED, |
