summaryrefslogtreecommitdiff
path: root/src/com/android/settings/widget/GenericSwitchController.java
AgeCommit message (Collapse)Author
2021-01-14Use SettingsLib's MainSwitchBar to replace SwitchBar in Settings.Stanley Wang
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
2020-12-03[Provider Model] Modify the class name to GenericSwitchControllerWeng Su
- The generic class can be used for multiple controllers Bug: 174022082 Test: - atest -c AirplaneSafeNetworksPreferenceControllerTest - make RunSettingsRoboTests ROBOTEST_FILTER=AllInOneTetherPreferenceControllerTest - make RunSettingsRoboTests ROBOTEST_FILTER=AutomaticStorageManagementSwitchPreferenceControllerTest - make RunSettingsRoboTests ROBOTEST_FILTER=WifiPrimarySwitchPreferenceControllerTest Change-Id: I7d50ae3e6228005eb6dfb0a6c1a2f870c41330f2