Service = android.os.ServiceManager.getService("device_policy");

if (android.os.Build.VERSION.SDK_INT > 33) {
    Service.getCurrentFailedPasswordAttempts("android", 0, true);
} else {
    Service.getCurrentFailedPasswordAttempts(0, true);
}
// 获取锁屏密码错误次数

#MVEL表达式 #Javascript
 
 
Back to Top