Docs: DevicePolicyManager#getStorageEncryptionStatus() cannot be called on the parent instance
Add note to the API that this method will throw a SecurityException if called on a parent instance Bug: 223789616 Change-Id: I444843ef46eafd126ee40b3affd60bd7deba7d3d Test: Built docs with [go/abtd]
This commit is contained in:
@@ -6787,6 +6787,8 @@ public class DevicePolicyManager {
|
||||
* {@link #ENCRYPTION_STATUS_UNSUPPORTED}, {@link #ENCRYPTION_STATUS_INACTIVE},
|
||||
* {@link #ENCRYPTION_STATUS_ACTIVATING}, {@link #ENCRYPTION_STATUS_ACTIVE_DEFAULT_KEY},
|
||||
* {@link #ENCRYPTION_STATUS_ACTIVE}, or {@link #ENCRYPTION_STATUS_ACTIVE_PER_USER}.
|
||||
*
|
||||
* @throws SecurityException if called on a parent instance.
|
||||
*/
|
||||
public int getStorageEncryptionStatus() {
|
||||
throwIfParentInstance("getStorageEncryptionStatus");
|
||||
|
||||
Reference in New Issue
Block a user