summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorPavel Grafov <pgrafov@google.com>2019-11-27 12:41:26 +0000
committerPavel Grafov <pgrafov@google.com>2020-01-15 18:06:00 +0000
commit72451325a2150f4948db8d9b1b6a24fc06a06b7a (patch)
tree9383a392a166f8acdb2b82eab538ede3c8d4939d /rs/java/android/renderscript/ProgramStore.java
parenteeb90fec267478176a07edfb7b2fc9a0f9ef4ce4 (diff)
Migrate COMP to PO on corp owned device on boot.
When the syste boots, check if the device is in COMP mode and if it is: * Mark PO as PO on corp owned device. * Migrate policies from from DO admin to PO parent instance: * password, timeout, keyguard related policies * camera, screenshot * accounts types with management disabled * support messages * applicable user restrictions * Clears DO and disables it as device admin. Two new unit tests verify that the decision whether to migrate or not is made correctly and that after the migrateion DO ceases to be device admin. Test: atest com.android.server.devicepolicy.DevicePolicyManagerServiceMigrationTest Bug: 143516163 Change-Id: I9131fb35da0f78066a662eed9c00207a5a923352
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions