diff --git a/app/src/main/java/com/sevtinge/hyperceiler/module/hook/systemui/lockscreen/AllowThirdLockScreenUseFace.java b/app/src/main/java/com/sevtinge/hyperceiler/module/hook/systemui/lockscreen/AllowThirdLockScreenUseFace.java index 87cc97c552..52156d9c46 100644 --- a/app/src/main/java/com/sevtinge/hyperceiler/module/hook/systemui/lockscreen/AllowThirdLockScreenUseFace.java +++ b/app/src/main/java/com/sevtinge/hyperceiler/module/hook/systemui/lockscreen/AllowThirdLockScreenUseFace.java @@ -8,13 +8,13 @@ public void init() throws NoSuchMethodException { findAndHookMethod("com.android.keyguard.KeyguardUpdateMonitor", "isUnlockWithFacePossible", int.class, new MethodHook(){ @Override protected void before(MethodHookParam param) throws Throwable { - param.setResult(false); + param.setResult(true); } }); findAndHookMethod("miui.stub.MiuiStub$3", "isUnlockWithFingerprintPossible", int.class, new MethodHook(){ @Override protected void before(MethodHookParam param) throws Throwable { - param.setResult(false); + param.setResult(true); } }); }