diff options
author | Brian Carlstrom <bdc@google.com> | 2011-06-01 15:29:29 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2011-06-01 15:29:29 -0700 |
commit | 7e4b1a488dd02c4bf6156379e36834e9e01c5b1b (patch) | |
tree | 5a28b9bd912415e1a71c1130696720cbe5080c7f /keystore | |
parent | cb0975b3c1c73d8bcadaca80e1ee99383750af60 (diff) | |
download | frameworks_base-7e4b1a488dd02c4bf6156379e36834e9e01c5b1b.zip frameworks_base-7e4b1a488dd02c4bf6156379e36834e9e01c5b1b.tar.gz frameworks_base-7e4b1a488dd02c4bf6156379e36834e9e01c5b1b.tar.bz2 |
Restore ResponseCodes for use with getLastError
Change-Id: I41b5bc9cbb6c05672c92d5864e889fd2b0186141
Diffstat (limited to 'keystore')
-rw-r--r-- | keystore/java/android/security/KeyStore.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/keystore/java/android/security/KeyStore.java b/keystore/java/android/security/KeyStore.java index 2a48834..9058cae 100644 --- a/keystore/java/android/security/KeyStore.java +++ b/keystore/java/android/security/KeyStore.java @@ -34,16 +34,16 @@ import java.util.ArrayList; public class KeyStore { // ResponseCodes - private static final int NO_ERROR = 1; - private static final int LOCKED = 2; - private static final int UNINITIALIZED = 3; - private static final int SYSTEM_ERROR = 4; - private static final int PROTOCOL_ERROR = 5; - private static final int PERMISSION_DENIED = 6; - private static final int KEY_NOT_FOUND = 7; - private static final int VALUE_CORRUPTED = 8; - private static final int UNDEFINED_ACTION = 9; - private static final int WRONG_PASSWORD = 10; + public static final int NO_ERROR = 1; + public static final int LOCKED = 2; + public static final int UNINITIALIZED = 3; + public static final int SYSTEM_ERROR = 4; + public static final int PROTOCOL_ERROR = 5; + public static final int PERMISSION_DENIED = 6; + public static final int KEY_NOT_FOUND = 7; + public static final int VALUE_CORRUPTED = 8; + public static final int UNDEFINED_ACTION = 9; + public static final int WRONG_PASSWORD = 10; // States public enum State { UNLOCKED, LOCKED, UNINITIALIZED }; |