We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 007e523 + 20d4c72 commit c9f0586Copy full SHA for c9f0586
2 files changed
libs/SalesforceSDK/src/com/salesforce/androidsdk/security/AppLockManager.kt
@@ -56,7 +56,9 @@ internal abstract class AppLockManager(
56
}
57
58
fun onAppBackgrounded() {
59
- lastBackgroundTimestamp = System.currentTimeMillis()
+ if (!locked) {
60
+ lastBackgroundTimestamp = System.currentTimeMillis()
61
+ }
62
63
64
fun onUnlock() {
libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/components/LoginView.kt
@@ -163,7 +163,7 @@ fun LoginView() {
163
LoginViewModel.BottomBarButton(
164
stringResource(viewModel.biometricAuthenticationButtonText.intValue)
165
) {
166
- viewModel.biometricAuthenticationButtonAction
+ viewModel.biometricAuthenticationButtonAction.value?.invoke() ?: activity.onBioAuthClick()
167
168
} else null
169
val idpButton =
0 commit comments