Merge "Docs: DevicePolicyManager#getStorageEncryptionStatus() cannot be called on the parent instance" into tm-qpr-dev am: 5796ecca29

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20913243

Change-Id: Ie4a21ccdbd9925dd67fdb00c3ce7a626ef525dc9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Pietro Maggi
2023-01-11 14:55:56 +00:00
committed by Automerger Merge Worker

View File

@@ -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");