keystore: allow system to clear keys even while encrypted

Since we can store keys that are unencrypted, we should allow the
clearing of data for apps when the keystore is still in a LOCKED state.
Also allow the system user to delete keys since this is necessary for
system maintenance when application data is cleared or the application
is uninstalled.

Bug: 15751553
Change-Id: Id02bc9992bd529e79be7a09d2bce208942d42b84
1 file changed
tree: df84e20bccc755f569c63b3481bc9213f4dd4fd0
  1. keystore/
  2. keystore-engine/
  3. softkeymaster/