Skip to content
Commit 25b25336 authored by Alex Johnston's avatar Alex Johnston
Browse files

Security logging broadcast work profile

Changes
On an org-owned device with a managed
profile, the security logs available broadcast
should be sent to the work profile user

Manual testing steps
* Set up org-owned device
  with a managed profile
* Enable security logging in
  the work profile
* Force logs using adb
  adb shell dpm force-security-logs
* Verify DeviceAdminReceiver
  receives broadcast

Bug: 170293810
Test: manual testing
      atest com.android.server.devicepolicy.DevicePolicyManagerTest
      atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testSecurityLoggingWithSingleUser
      atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testSecurityLoggingEnabledLogged
      atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testSecurityLoggingWithTwoUsers
      atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testSecurityLoggingDelegate
      atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testSecurityLogging
      atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testSecurityLoggingDelegate
Change-Id: Ia955d6ef6b983fb1ff05dff9e68f8cb8e9b6e9f9
parent 81bd9d9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment