Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 470c6b11 authored by Joshua McCloskey's avatar Joshua McCloskey Committed by Joshua Mccloskey
Browse files

Set default value for performant auth.

Test: Manually verified its default to enabled.
Bug: 265264294
Change-Id: Ibbad0165f4ef396be70d3a566ca77597c2bcbb8e
Merged-In: Ibbad0165f4ef396be70d3a566ca77597c2bcbb8e
parent 6c703e12
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ public class FingerprintSettingsRequireScreenOnToAuthPreferenceController
                getUserHandle());
        if (toReturn == -1) {
            toReturn = mContext.getResources().getBoolean(
                    com.android.internal.R.bool.config_requireScreenOnToAuthEnabled) ? 1 : 0;
                    com.android.internal.R.bool.config_performantAuthDefault) ? 1 : 0;
            Settings.Secure.putIntForUser(mContext.getContentResolver(),
                    Settings.Secure.SFPS_PERFORMANT_AUTH_ENABLED, toReturn, getUserHandle());
        }