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

Commit 31584c6b authored by Eric Biggers's avatar Eric Biggers Committed by Automerger Merge Worker
Browse files

Merge "Add IsLockScreenDisabled to dump of LockSettingsService" into main am: 312fe7c4

parents a2f46535 312fe7c4
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -3403,8 +3403,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"));