diff options
author | Alex Johnston <acjohnston@google.com> | 2019-11-19 11:12:15 +0000 |
---|---|---|
committer | Alex Johnston <acjohnston@google.com> | 2019-12-04 14:02:58 +0000 |
commit | 8c50338cfdf9977f0b68dc4f07f2168e161a9e4d (patch) | |
tree | 5f2c69dfe2d8f56f19aff518442d5369ac880fec /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | ee7d195f0324b8311babd849aa211b8ae6f4ac7e (diff) |
Replace setAutoTimeRequired and getAutoTimeRequired with setAutoTime and getAutoTime
* Deprecate setAutoTimeRequired and getAutoTimeRequired.
* Added new API methods setAutoTime and getAutoTime.
* DPCs are recommended to combine these new APIs together with the DISALLOW_CONFIG_DATE_TIME
restriction to prevent the user from changing auto time settings.
* The new methods can also be called by the WP PO (COPE mode).
Bug: 138709470
Test: Manual testing with testdpc and the set auto time toggle
atest com.android.server.devicepolicy.DevicePolicyManagerTest
atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testSetAutoTime
Change-Id: I6f93b2a28e3ef0e1e97c9c414ce65d4e753c1bf3
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions