Skip to content
Commit 62900120 authored by Lenka Trochtova's avatar Lenka Trochtova
Browse files

Add throwIfParentInstance check to setMandatoryBackupTransport.

Throw SecurityException from setMandatoryBackupTransport if
in a parent instance.

BUG: 72332943
Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases --test
com.android.cts.devicepolicy.ManagedProfileTest#testParentProfileApiDisabled

Change-Id: Iff2367256ce372641fd5569ad27b32f0894597ce
parent 4ce53a04
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