Merge "docs: Added reminder that custom CAs aren't automatically trusted by apps." into pi-dev

This commit is contained in:
TreeHugger Robot
2018-08-29 23:22:01 +00:00
committed by Android (Google) Code Review

View File

@@ -3870,6 +3870,11 @@ public class DevicePolicyManager {
/**
* Installs the given certificate as a user CA.
* <p>
* Inserted user CAs aren't automatically trusted by apps in Android 7.0 (API level 24) and
* higher. App developers can change the default behavior for an app by adding a
* <a href="{@docRoot}training/articles/security-config.html">Security Configuration
* File</a> to the app manifest file.
*
* The caller must be a profile or device owner on that user, or a delegate package given the
* {@link #DELEGATION_CERT_INSTALL} scope via {@link #setDelegatedScopes}; otherwise a