OSDN Git Service
(root)
/
android-x86
/
packages-apps-Settings.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fce4501
)
Fix Clear Credentials item
author
Kenny Root
<kroot@google.com>
Mon, 22 Apr 2013 20:41:18 +0000
(13:41 -0700)
committer
Kenny Root
<kroot@google.com>
Mon, 22 Apr 2013 20:42:45 +0000
(13:42 -0700)
This should be enabled whenever there is a credential in the keystore
since there can be unencrypted credentials in there now.
Bug:
8651830
Change-Id: I52a8262011d744d782b35d97deaabcba3b23f32b
src/com/android/settings/SecuritySettings.java
patch
|
blob
|
history
diff --git
a/src/com/android/settings/SecuritySettings.java
b/src/com/android/settings/SecuritySettings.java
index
c324dd8
..
e97c73f
100644
(file)
--- a/
src/com/android/settings/SecuritySettings.java
+++ b/
src/com/android/settings/SecuritySettings.java
@@
-452,7
+452,7
@@
public class SecuritySettings extends SettingsPreferenceFragment
}
if (mResetCredentials != null) {
- mResetCredentials.setEnabled(!mKeyStore.is
Unlocked
());
+ mResetCredentials.setEnabled(!mKeyStore.is
Empty
());
}
}