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

Commit 8eb42bd2 authored by Kenny Root's avatar Kenny Root
Browse files

Fix Clear Credentials item

This should be enabled whenever there is a credential in the keystore
since there can be unencrypted credentials in there now.

(cherry picked from commit c4372c3e)

Bug: 8651830
Change-Id: Ie06f20cf90f5a359975cb30d67052f8867b429b9
parent c1e3983b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -415,7 +415,7 @@ public class SecuritySettings extends SettingsPreferenceFragment
        }

        if (mResetCredentials != null) {
            mResetCredentials.setEnabled(!mKeyStore.isUnlocked());
            mResetCredentials.setEnabled(!mKeyStore.isEmpty());
        }
    }