Skip to content

Commit

Permalink
Update AllowThirdLockScreenUseFace.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Sevtinge committed Jan 21, 2024
1 parent 11fadf7 commit 45e5417
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
});
}
Expand Down

0 comments on commit 45e5417

Please sign in to comment.