Settings: fix screen off udfps preference visibility
remove redundant resource check Change-Id: Iea2f126907b4d03989e7e668467b9711ea432102 Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.com>
This commit is contained in:
@@ -732,8 +732,7 @@ public class FingerprintSettings extends SubSettings {
|
||||
|
||||
private boolean isScreenOffUnlcokSupported() {
|
||||
if (isUdfps()) {
|
||||
return getContext().getResources().getBoolean(
|
||||
com.android.internal.R.bool.config_screen_off_udfps_enabled);
|
||||
return screenOffUnlockUdfps();
|
||||
} else if (isSfps()) {
|
||||
return getContext().getResources().getBoolean(
|
||||
org.lineageos.platform.internal.R.bool.config_fingerprintWakeAndUnlock);
|
||||
|
||||
Reference in New Issue
Block a user