diff options
| author | 2022-05-19 14:12:48 +0100 | |
|---|---|---|
| committer | 2022-05-19 14:33:53 +0100 | |
| commit | 8d1317ca37dabe23dbbaaedfb7d908d2b2a654b2 (patch) | |
| tree | 62d6f5b880e407f29695e52ac635cc10f0adb934 | |
| parent | ed00c662dcf3ab7c62d6431ca09dc3fb35e0dc3e (diff) | |
Update network logging delegation docs
Bug: 228445895
Test: NA
Change-Id: I98ddd4f012fa1d6bcd12fc31ab176cf1e43e8838
| -rw-r--r-- | core/java/android/app/admin/DevicePolicyManager.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index 93f91e5af3eb..b7f113609188 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -2515,7 +2515,8 @@ public class DevicePolicyManager { * If another app already had delegated network logging access, * it will lose the delegation when a new app is delegated. * - * <p> Can only be granted by Device Owner or Profile Owner of a managed profile. + * <p> Device Owner can grant this access since Android 10. Profile Owner of a managed profile + * can grant this access since Android 12. */ public static final String DELEGATION_NETWORK_LOGGING = "delegation-network-logging"; @@ -13255,9 +13256,11 @@ public class DevicePolicyManager { * Called by a device owner, profile owner of a managed profile or delegated app with * {@link #DELEGATION_NETWORK_LOGGING} to control the network logging feature. * - * <p> Supported for a device owner from Android 8. Supported for a profile owner of a managed - * profile from Android 12. When network logging is enabled by a profile owner, the network logs - * will only include work profile network activity, not activity on the personal profile. + * <p> Supported for a device owner from Android 8 and a delegated app granted by a device + * owner from Android 10. Supported for a profile owner of a managed profile and a delegated + * app granted by a profile owner from Android 12. When network logging is enabled by a + * profile owner, the network logs will only include work profile network activity, not + * activity on the personal profile. * * <p> Network logs contain DNS lookup and connect() library call events. The following library * functions are recorded while network logging is active: |