mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 08:39:22 +01:00
Clear out checks for SDK < 23 as they're no longer relevant.
This commit is contained in:
@@ -38,11 +38,7 @@ class BiometricDeviceAuthentication(
|
||||
}
|
||||
|
||||
private fun isDeviceSecure(context: Context): Boolean {
|
||||
return if (Build.VERSION.SDK_INT > 23) {
|
||||
ServiceUtil.getKeyguardManager(context).isDeviceSecure
|
||||
} else {
|
||||
ServiceUtil.getKeyguardManager(context).isKeyguardSecure
|
||||
}
|
||||
return ServiceUtil.getKeyguardManager(context).isDeviceSecure
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user