Commit Graph

2 Commits

Author SHA1 Message Date
Doris Ling
4f1eca05be Update the color for the master switch divider.
Change the background attr for the divider to dividerVertical.

Change-Id: I6437c74c0951e43c6d438d282f7c686249cb9dd6
Fix: 34978085
Test: Visual
2017-02-06 14:40:13 -08:00
Doris Ling
1432cb8529 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
2017-01-20 16:19:00 -08:00