summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/development/DevelopmentSwitchBarController.java
Commit message (Collapse)AuthorAgeFilesLines
* Use SettingsLib's MainSwitchBar to replace SwitchBar in Settings.Stanley Wang2021-01-141-3/+3
| | | | | | | | | | To log Settings metrics, the MainSwitch extends MainSwitchBar and replace the SwitchBar in SettingsActivity. Bug: 175181773 Test: Run robotest and apply the widget in Settings and see the ui Change-Id: I3add3702e9058ad9192b5172c7cf0e2ccfb55a70
* 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
* Reorder and clean up imports.Fan Zhang2018-06-181-2/+2
| | | | | Test: rebuild Change-Id: I178485c84ae7146f991fd77b6d7504b029942a68
* Migrate Settings to androidx.Aurimas Liutikas2018-04-201-1/+1
| | | | | | Test: make Settings Bug: 76692459 Change-Id: I941dea40562170649bf056e675cc32e5163c0e39
* Delete DevelopmentSettings.javajeffreyhuang2017-11-171-38/+10
| | | | | | | | | - Remove the old DevelopmentSettings - Remove references to the feature flag Fixes: 65522949 Test: make RunSettingsRoboTests -j40 Change-Id: Ie2eb3465127d79a027de6bb58a47bb15e3094f89
* Add switch bar to enable/disable dev settings in new page.Fan Zhang2017-09-121-2/+36
| | | | | | Bug: 65522852 Test: make RunSettingsRoboTests -j40 ROBOTEST_FILTER=Development Change-Id: I0958950dc6aaee24d8d5e0be58d7564d108bc72e
* Fix a monkey crash in Developer settings.Fan Zhang2017-07-251-0/+54
- DevSetting shouldn't add switchbar listener if it's a Monkey test run - DevSetting shouldn't remove switchbar listener if it's not registered - Refactor some switchbar logic in order to create test Change-Id: Ie65ff9b04778075789010169039393bd0551acfb Fix: 64021498 Test: robotests