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/MasterSwitchController.java
|