diff options
author | Rubin Xu <rubinxu@google.com> | 2018-03-28 14:54:08 +0100 |
---|---|---|
committer | Rubin Xu <rubinxu@google.com> | 2018-04-05 14:26:52 +0100 |
commit | 1b2f37401818b04cf4908d5aa9017eab44fe5662 (patch) | |
tree | 3ca5ce9dfd72b072d5109066de2dee46b749ad25 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | b2e6e45d009e7c9148e69bf2c1f0b46917bee7b0 (diff) |
Tweak SystemUpdatePolicy APIs
* Introduce a FreezePeriod class that represents a single freeze period
and is defined by two MonthDay instances.
* Add ERROR_UNKNOWN to ValidationFailedException
* Make SystemUpdatePolicy final
* Document SystemUpdatePolicy.InstallationOption and add IntDef to getType()
Test: runtest frameworks-services -c com.android.server.devicepolicy.SystemUpdatePolicyTest
Test: cts-tradefed run cts-dev -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceOwnerTest#testSystemUpdatePolicy
Test: gts-tradefed run gts-dev --module GtsGmscoreHostTestCases --test com.google.android.gts.devicepolicy.DeviceOwnerTest#testSystemUpdatePolicy
Bug: 74976911
Change-Id: I85cf636c3a98c97bd03b7b296c3130028051a791
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions