summaryrefslogtreecommitdiff
path: root/src/com/android/settings/backup/AutoRestorePreferenceController.java
AgeCommit message (Collapse)Author
2021-11-01Add highlight menu keys for all toggle pref controllers and custom slicesJason Chiu
Bug: 204695404 Test: manual, robotest build pass, unit Change-Id: Iad2e28ada8ddb766ffa7eff2c8dc581250cbd6f8
2018-08-28Sort importsFan Zhang
Having consistent import order will reduce chance of merge conflict between internal and external master Test: rebuild Change-Id: I0b1a170967ddcce7f388603fd521f6ed1eeba30b
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 Bug: 79245656 Test: robotests Change-Id: I58821a6cfd6134b3b351657b6edf5f74ead00643
2018-04-30Fix NPE during unit testFan Zhang
As of ag/3932176 the slice indexer now queries getSummary() for each controller. So we need to create all necessary objects before getSummary(). In this case, the PSCD object. Change-Id: I0162996be37d740f1e450880bf4698acd94ca0ad Fixes: 78897071 Test: atest
2018-04-20Migrate Settings to androidx.Aurimas Liutikas
Test: make Settings Bug: 76692459 Change-Id: I941dea40562170649bf056e675cc32e5163c0e39
2018-04-18Modified the PrivacySettings and add PreferenceControllerssunnyshao
- Changed the PrivacySettings to DashboardFragment. - Added the new five related PreferenceControllers and related codes - Modified the privacy_settings.xml - Removed the PrivacySettingsTest test by design changed - Moved the PrivacySettings.java from root directory to backup Test: manual Test: make RunSettingsRoboTests Change-Id: Ic88e2e58a11d024d2394f75c3db5b46fe2d86dba