|
@@ -460,14 +460,9 @@ class LoginActivity : BaseActivity<LoginViewModel, ActivityLoginBinding>() {
|
460
|
460
|
}
|
461
|
461
|
mBinding.lockEt.setText("")
|
462
|
462
|
} catch (e: Exception) {
|
463
|
|
- val param = spUtils.getParam(Const.DISABLEPAD, false) as Boolean
|
464
|
|
- if (param) {
|
465
|
|
- mBinding.loginMainLlayout.visibility = View.GONE
|
466
|
|
- mBinding.lockLlayout.visibility = View.VISIBLE
|
467
|
|
- } else {
|
468
|
|
- mBinding.loginMainLlayout.visibility = View.VISIBLE
|
469
|
|
- mBinding.lockLlayout.visibility = View.GONE
|
470
|
|
- }
|
|
463
|
+ //默认不锁定
|
|
464
|
+ mBinding.loginMainLlayout.visibility = View.GONE
|
|
465
|
+ mBinding.lockLlayout.visibility = View.VISIBLE
|
471
|
466
|
}
|
472
|
467
|
}
|
473
|
468
|
|