mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
Fix a typo
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
ec086b61c4
commit
07877e9cd0
@ -373,7 +373,7 @@ public class SettingsController extends BaseController {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
|
||||
KeyguardManager keyguardManager = (KeyguardManager) context.getSystemService(Context.KEYGUARD_SERVICE);
|
||||
|
||||
if (keyguardManager.isDeviceSecure()) {
|
||||
if (keyguardManager.isKeyguardSecure()) {
|
||||
screenLockSwitchPreference.setEnabled(true);
|
||||
screenLockTimeoutChoicePreference.setEnabled(true);
|
||||
((Checkable) screenLockSwitchPreference.findViewById(R.id.mp_checkable)).setChecked(appPreferences.getIsScreenLocked());
|
||||
|
Loading…
Reference in New Issue
Block a user