Allow PO to enable network logging on work profile
Changes
* The profile owner can enable network logging
on the work profile.
* The network logs only include work profile
network activity (not personal profile activity).
Bug: 170460270
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
atest com.android.server.devicepolicy.NetworkEventTest
atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testNetworkLogging
atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testNetworkLogging
atest com.android.cts.devicepolicy.DeviceOwnerTest#testNetworkLoggingWithTwoUsers
atest com.android.cts.devicepolicy.DeviceOwnerTest#testNetworkLoggingWithSingleUser
atest com.android.cts.devicepolicy.DeviceOwnerTest#testNetworkLogging_multipleBatches
Change-Id: I4727ba7cbc62f9cd187f82a9527f0475345fd555
Merged-In: I4727ba7cbc62f9cd187f82a9527f0475345fd555
6 files changed