Skip to content
Commit f0bdeb32 authored by Yvonne Jiang's avatar Yvonne Jiang
Browse files

Add new DevicePolicyConstant for indicating that the testOnly admin should be...

Add new DevicePolicyConstant for indicating that the testOnly admin should be used as the supervision component.

We were always using the testOnly admin previously, but this shouldn't apply for all test cases, thus making it conditional now.

Short term fix until general test solution to override xml resources (which is how the designated supervision component is set) is implemented (b/182994391).

Bug: 176212263
Test: atest FrameworksServicesTests:DevicePolicyManagerTest
Test: atest -c 'CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.MixedProfileOwnerTest'
Change-Id: I81506362ea681ca01d98d1713220110977f0fee1
parent 53863bbc
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