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

Commit 312fe7c4 authored by Eric Biggers's avatar Eric Biggers Committed by Gerrit Code Review
Browse files

Merge "Add IsLockScreenDisabled to dump of LockSettingsService" into main

parents 1c2e64ab ef1a1232
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -3361,8 +3361,13 @@ public class LockSettingsService extends ILockSettings.Stub {
            // It's OK to dump the credential type since anyone with physical access can just
            // observe it from the keyguard directly.
            pw.println("Quality: " + getKeyguardStoredQuality(userId));
            pw.println("CredentialType: " + LockPatternUtils.credentialTypeToString(
                    getCredentialTypeInternal(userId)));
            final int credentialType = getCredentialTypeInternal(userId);
            pw.println("CredentialType: "
                    + LockPatternUtils.credentialTypeToString(credentialType));
            if (credentialType == CREDENTIAL_TYPE_NONE) {
                pw.println("IsLockScreenDisabled: "
                        + getBoolean(LockPatternUtils.DISABLE_LOCKSCREEN_KEY, false, userId));
            }
            pw.println("SeparateChallenge: " + getSeparateProfileChallengeEnabledInternal(userId));
            pw.println(TextUtils.formatSimple("Metrics: %s",
                    getUserPasswordMetrics(userId) != null ? "known" : "unknown"));