Skip to content
Commit 988f28b6 authored by Alex Johnston's avatar Alex Johnston
Browse files

Refactor DPMS security check

Refactored enforceDeviceOwnerOrProfileOwnerOnUser0OrProfileOwnerOrganizationOwned in DPMS

Bug: 145286957
Test: Manual testing
      atest com.android.server.devicepolicy.DevicePolicyManagerTest
      atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testSetAutoTimeZone
      atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testSetAutoTime
      atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testSetTime
      atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testSetTimeZone

Change-Id: Id75b60bec3ed5aedc2ccd1dcf39142cb5d8ff2e9
parent 52795b48
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