Update Trusted Credentials screen in settings

Trusted credentials for both the primary user and its managed profiles are shown
on the Trusted Credentials fragment. All functionalities (e.g. disabling/enabling
of certificates) remain available.

Bug: 16029580

Change-Id: Ia92ae02d8c572bf4a3be172f6c255726cefc0fa1
This commit is contained in:
Zoltan Szatmary-Ban
2014-07-15 16:58:59 +01:00
parent 1cc41c938c
commit 1386627335
4 changed files with 42 additions and 29 deletions

View File

@ -397,7 +397,8 @@ public final class KeyChain {
return KeyStore.getInstance().isHardwareBacked(algorithm);
}
private static X509Certificate toCertificate(byte[] bytes) {
/** @hide */
public static X509Certificate toCertificate(byte[] bytes) {
if (bytes == null) {
throw new IllegalArgumentException("bytes == null");
}