Loading core/java/android/app/admin/DevicePolicyManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -1372,7 +1372,7 @@ public class DevicePolicyManager { * * @hide */ public boolean hasAnyCaCertsInstalled() { public static boolean hasAnyCaCertsInstalled() { TrustedCertificateStore certStore = new TrustedCertificateStore(); Set<String> aliases = certStore.userAliases(); return aliases != null && !aliases.isEmpty(); Loading core/java/android/provider/Settings.java +32 −0 Original line number Diff line number Diff line Loading @@ -159,6 +159,38 @@ public final class Settings { public static final String ACTION_SECURITY_SETTINGS = "android.settings.SECURITY_SETTINGS"; /** * Activity Action: Show trusted credentials settings, opening to the user tab, * to allow management of installed credentials. * <p> * In some cases, a matching Activity may not exist, so ensure you * safeguard against this. * <p> * Input: Nothing. * <p> * Output: Nothing. * @hide */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_TRUSTED_CREDENTIALS_USER = "com.android.settings.TRUSTED_CREDENTIALS_USER"; /** * Activity Action: Show dialog explaining that an installed CA cert may enable * monitoring of encrypted network traffic. * <p> * In some cases, a matching Activity may not exist, so ensure you * safeguard against this. * <p> * Input: Nothing. * <p> * Output: Nothing. * @hide */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_MONITORING_CERT_INFO = "com.android.settings.MONITORING_CERT_INFO"; /** * Activity Action: Show settings to allow configuration of privacy options. * <p> Loading core/res/res/drawable-hdpi/stat_sys_certificate_info.png 0 → 100644 +1.38 KiB Loading image diff... core/res/res/drawable-mdpi/stat_sys_certificate_info.png 0 → 100644 +930 B Loading image diff... core/res/res/drawable-xhdpi/stat_sys_certificate_info.png 0 → 100644 +1.9 KiB Loading image diff... Loading
core/java/android/app/admin/DevicePolicyManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -1372,7 +1372,7 @@ public class DevicePolicyManager { * * @hide */ public boolean hasAnyCaCertsInstalled() { public static boolean hasAnyCaCertsInstalled() { TrustedCertificateStore certStore = new TrustedCertificateStore(); Set<String> aliases = certStore.userAliases(); return aliases != null && !aliases.isEmpty(); Loading
core/java/android/provider/Settings.java +32 −0 Original line number Diff line number Diff line Loading @@ -159,6 +159,38 @@ public final class Settings { public static final String ACTION_SECURITY_SETTINGS = "android.settings.SECURITY_SETTINGS"; /** * Activity Action: Show trusted credentials settings, opening to the user tab, * to allow management of installed credentials. * <p> * In some cases, a matching Activity may not exist, so ensure you * safeguard against this. * <p> * Input: Nothing. * <p> * Output: Nothing. * @hide */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_TRUSTED_CREDENTIALS_USER = "com.android.settings.TRUSTED_CREDENTIALS_USER"; /** * Activity Action: Show dialog explaining that an installed CA cert may enable * monitoring of encrypted network traffic. * <p> * In some cases, a matching Activity may not exist, so ensure you * safeguard against this. * <p> * Input: Nothing. * <p> * Output: Nothing. * @hide */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_MONITORING_CERT_INFO = "com.android.settings.MONITORING_CERT_INFO"; /** * Activity Action: Show settings to allow configuration of privacy options. * <p> Loading