mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
Fix a crashing bug in timeout change
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
130050b092
commit
ab75a89e30
@ -670,7 +670,7 @@ public class SettingsController extends BaseController {
|
|||||||
@Override
|
@Override
|
||||||
public void onChanged(String newValue) {
|
public void onChanged(String newValue) {
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
|
||||||
SecurityUtils.createKey(newValue);
|
SecurityUtils.createKey(appPreferences.getScreenLockTimeout());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user