Check keystore state first for installKeyPair

Since this is available to 3rd-party apps through DevicePolicyManager,
it makes sense to explain failures with more detail.

Bug: 20486707
Change-Id: Ied1dc026f86c522c16d00a5705630348910ef679
1 file changed
tree: 0d23d7ac4839c2f83cd61c6cd53fcbc7a6e4bd63
  1. res/
  2. src/
  3. support/
  4. tests/
  5. Android.mk
  6. AndroidManifest.xml