Alex Johnston 606e6837e6 Replace setAutoTimeRequired and getAutoTimeRequired with setAutoTime and getAutoTime
* Deprecate setAutoTimeRequired and getAutoTimeRequired.
* Added new API methods setAutoTime and getAutoTime.
* These new APIS use the DISALLOW_CONFIG_DATE_TIME user restriction to prevent the user from setting auto time.
* Updated Settings AutoTimePreferenceController to look at the DISALLOW_CONFIG_DATE_TIME restriction

Bug: 138709470
Test: Manual testing with testdpc and the set auto time toggle
      DevicePolicyManagerTest
      DeviceAndProfileOwnerTest
      DevicePolicyLoggingTest
      AutoTimePreferenceControllerTest

Change-Id: I55b44840089a0b701ca4d5572a0e91deb40152ed
2019-11-25 16:39:05 +00:00
2019-03-27 07:14:20 +08:00
2019-11-14 08:56:40 +00:00
2019-04-04 12:49:15 -07:00
2018-12-18 09:51:08 +00:00
2019-07-12 16:35:12 +08:00
2019-02-06 15:44:40 +00:00
Description
No description provided
3.1 GiB
Languages
Java 89.8%
Kotlin 10.2%