commit | 629001203f10072cdfaabe857aa8c556356e97a5 | [log] [tgz] |
---|---|---|
author | Lenka Trochtova <ltrochtova@google.com> | Tue Jan 23 14:55:46 2018 +0100 |
committer | Lenka Trochtova <ltrochtova@google.com> | Fri Jan 26 14:27:30 2018 +0000 |
tree | 6812c07a14cce62f7c6aa1e646052f637ce66ba6 | |
parent | 4ce53a04d3992281a230ac8fc61eb802bc32c5b2 [diff] |
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