summaryrefslogtreecommitdiff
path: root/src/com/android/settings/system/AdditionalSystemUpdatePreferenceController.java
AgeCommit message (Collapse)Author
2018-05-09Establish permanently unavailable settingsMatthew Fritze
Distinguish between settings which are permanently unavailable on the device, and temporarily unavailable. This enables us to restrict which setting slices are exposed in onSliceGetDescendants. The primary changes in this CL are renaming: "DISABLED_UNSUPPORTED" -> "UNSUPPORTED_ON_DEVICE" to be more clear the the setting will cannot be accessed on the device, and, adding a new enum to encapsulate settings which are currently unavailable, but could be enabled in the future. Also remove UNAVAILABLE_UNKNOWN. Devs should never need this enum. Bug: 78910582 Fixes: 79245656 Test: robotests Change-Id: I42c2cedab66be2d76999795f46470a079cc1ec71 Merged-In: I58821a6cfd6134b3b351657b6edf5f74ead00643
2018-01-31Use SystemUpdateManager to provide system update info.Fan Zhang
Change-Id: I38b631cda8aa63e478c74625eba3d18f9a5723bd Fixes: 36874007 Test: robotests