summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEran Messeri <eranm@google.com>2020-03-05 10:38:32 +0000
committerEran Messeri <eranm@google.com>2020-03-05 10:41:06 +0000
commit46bedf31840e07adc86d3a2fab4324345dd8ecfb (patch)
tree5350dfa0d185b834744695ff9bd76298bcce38d2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd021b2851ade8d3f34452ddaa42f9882e376fda3 (diff)
Restrict adding managed profile in DO devices
On devices that have a Device Owner, or had a Device Owner and Profile Owner and the managed profile was removed, apply the restriction for adding a managed profile. This would prevent such devices from getting into the DO+PO mode, which is no longer supported in R. Bug: 149006203 Test: Manual, set TestDPC as the Device Owner, upgrade it, observe TestDPC cannot create a managed profile. Test: Manual, have a device with different DO and PO packages, remove PO, observe it cannot be re-added. Change-Id: Iea48049a671071d2ad075b5e4c9ae3ce830975d3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions