summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/backup/DataManagementPreferenceController.java
Commit message (Collapse)AuthorAgeFilesLines
* Use new dataManagementLabel AIDL in Backup SettingsAnnie Meng2019-03-201-1/+1
| | | | | | | | | | | | 1) Uses new AIDL method getDataManagementLabelForUser 2) Changes data management label type from String to CharSequence Bug: 113856654 Test: atest $(find \ packages/apps/Settings/tests/robotests/src/com/android/settings/backup \ -name '*Test.java') Change-Id: I2325527c67878467b96fb93de50faafe153fdb21
* Sort importsFan Zhang2018-08-281-2/+2
| | | | | | | | Having consistent import order will reduce chance of merge conflict between internal and external master Test: rebuild Change-Id: I0b1a170967ddcce7f388603fd521f6ed1eeba30b
* Establish permanently unavailable settingsMatthew Fritze2018-05-091-1/+1
| | | | | | | | | | | | | | | | | | | 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
* Fix NPE during unit testFan Zhang2018-04-301-14/+12
| | | | | | | | | | 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
* Migrate Settings to androidx.Aurimas Liutikas2018-04-201-1/+1
| | | | | | Test: make Settings Bug: 76692459 Change-Id: I941dea40562170649bf056e675cc32e5163c0e39
* Modified the PrivacySettings and add PreferenceControllerssunnyshao2018-04-181-0/+58
- 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