KeyChainService: fix misleading error message.

The KeyChainService would incorrectly report that the KeyChain
was locked when it was really uninitialized. Fix error message.

Change-Id: I128f7fee9a0b8b41e215edf38699c1441e6f6344
diff --git a/src/com/android/keychain/KeyChainService.java b/src/com/android/keychain/KeyChainService.java
index 8d26643..1c41957 100644
--- a/src/com/android/keychain/KeyChainService.java
+++ b/src/com/android/keychain/KeyChainService.java
@@ -112,8 +112,10 @@
                 throw new NullPointerException("alias == null");
             }
             if (!isKeyStoreUnlocked()) {
-                throw new IllegalStateException("keystore locked");
+                throw new IllegalStateException("keystore is "
+                        + mKeyStore.state().toString());
             }
+
             final int callingUid = getCallingUid();
             if (!hasGrantInternal(mDatabaseHelper.getReadableDatabase(), callingUid, alias)) {
                 throw new IllegalStateException("uid " + callingUid