From cd0abb860318e52be2a5fb7d4fa7c20f59a3119f Mon Sep 17 00:00:00 2001 From: Alex Johnston Date: Tue, 3 May 2022 09:53:29 +0100 Subject: [PATCH] Update DevicePolicyManager network logging docs Include the correct API level Bug: 228445895 Test: NA Change-Id: I97a1d44484eb640fd627c7ddcc67eeced8ef07b2 --- core/java/android/app/admin/DevicePolicyManager.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index d11b23cc871b9..86ea79b5cc9bf 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -13197,8 +13197,9 @@ 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. * - *

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. + *

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. * *

Network logs contain DNS lookup and connect() library call events. The following library * functions are recorded while network logging is active: