mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Remove immediate screen lock option.
This commit is contained in:
@@ -355,7 +355,8 @@ class PrivacySettingsFragment : DSLSettingsFragment(R.string.preferences__privac
|
||||
return if (!enabledScreenLock) {
|
||||
getString(R.string.ScreenLockSettingsFragment__off)
|
||||
} else if (timeoutSeconds == 0L) {
|
||||
getString(R.string.ScreenLockSettingsFragment__immediately)
|
||||
Log.i(TAG, "Default immediate screen lock to one minute")
|
||||
ExpirationUtil.getExpirationDisplayValue(requireContext(), 60)
|
||||
} else {
|
||||
ExpirationUtil.getExpirationDisplayValue(requireContext(), timeoutSeconds.toInt())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user