History log of /packages/apps/Settings/src/com/android/settings/widget/SwitchWidgetController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c4c9f4d50eec659eb50f8ed671c27d8c6ef0c924 24-Jan-2017 Doris Ling <dling@google.com> Update Network & internet->Wi-Fi to use MasterSwitchPreference.

- Add a preference controller for Network & internet->Wi-Fi to control
the preference toggling and summary update.
- Refactor WifiSettings and WifiEnabler to share code between the new
wifi preference controller and the wifi setting.
- Refactor BluetoothSummaryHelper to have a common base class with the
WifiSummaryHelper.
- Rename the summary helper to summary updater.

Bug: 34280769
Test: make RunSettingsRoboTests
Change-Id: I00ebfc161bcef89331bb41ba405ed8cb8232d248
/packages/apps/Settings/src/com/android/settings/widget/SwitchWidgetController.java
1432cb852972daedd6c2fde78abb769b722fc47d 18-Jan-2017 Doris Ling <dling@google.com> Add new preference class MasterSwitchPreference.

- Add a new preference type that has Title and optional summary on the
left, and a toggle switch on the right. Clicking the left part of the
preference will open a settings screen.
- Update Connected devices->Bluetooth to use this new preference.
- Refactor BluetoothSettings and BluetoothEnabler to share code between
the new bluetooth preference controller and the bluetooth setting.

Bug: 34280769
Test: make RunSettingsRoboTests
Change-Id: I109ecdba640ecdd4748a6e5b2b4f4c47cbf653fd
/packages/apps/Settings/src/com/android/settings/widget/SwitchWidgetController.java