diff options
author | Eran Messeri <eranm@google.com> | 2021-02-24 15:51:33 +0000 |
---|---|---|
committer | Eran Messeri <eranm@google.com> | 2021-03-05 17:06:57 +0000 |
commit | 171eeee60d2b7a42495660c51aba10510162dc87 (patch) | |
tree | 98083e456d63b0193feb920b533746ed77199acb /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | fa2d8ad05191be756e8ab2dc49679f6374028505 (diff) |
Implement Device Policy upgrade flow
Implement an upgrade flow in the DevicePolicyManagerService for
admin-set policies.
The purpose is to allow graceful, rather than ad-hoc, setting of default
values for new policies added to DevicePolicyData or ActiveAdmin.
This change also cleans up the lowest of hanging fruits - presence of
password properties metrics, by upgrading from version 0 (nonexistent)
to version 1.
The versioning mechanism is meant for handling additional upgrade
scenarios.
Test: Manual upgrade, flash to a build without a version and check that
the device boots and the version file is created.
Test: atest FrameworksServicesTests:PolicyVersionUpgraderTest
Bug: 181009337
Change-Id: Iac7d345b34beba00d6d5fb10d6fb0a2c745592e0
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions