Fan Zhang
ddc6c646c0
Convert BatterySaverButton controller to Slice compatible.
...
- Update preference key to match the key defined in SettingsSlicesContract
- Model TwoStateButtonPreference similar to TwoStatePreference (add
setChecked, isChecked method)
- Remove TwoStateButtonPreferenceController entirely because all methods
are moved into Preference directly for better encapsulation.
- Make BatterySaverButtonPrefController direclty implement
TogglePreferenceController. It was not possible before because the
interface between TwoStateButtonPreferene is too different from
TwoStatePreference.
Bug: 80106671
Test: robotests
Change-Id: Ib72807dcf1b36e959e08df8d80538c3f9f79b76d
2018-05-22 20:22:26 -07:00
..
2018-04-25 16:00:40 +08:00
2018-04-25 16:00:40 +08:00
2018-05-21 20:55:58 -07:00
2018-04-23 15:25:32 -07:00
2018-04-23 15:25:32 -07:00
2018-05-18 16:09:20 -07:00
2018-04-23 15:25:32 -07:00
2018-04-23 15:25:32 -07:00
2018-04-23 15:25:32 -07:00
2018-05-22 15:05:48 -07:00
2018-04-14 01:36:27 +00:00
2018-04-17 14:30:08 -07:00
2018-05-17 11:55:40 -07:00
2018-05-18 16:09:20 -07:00
2018-05-21 20:12:22 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-02-21 18:36:16 -08:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2017-08-14 13:38:36 +00:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-10 17:51:52 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-02-21 18:36:16 -08:00
2018-05-01 18:50:02 +00:00
2018-05-01 22:27:03 -07:00
2018-02-21 18:36:16 -08:00
2018-05-12 12:16:11 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-02-21 18:36:16 -08:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-03-19 18:27:18 +00:00
2018-03-19 18:27:18 +00:00
2018-03-21 18:21:04 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-20 02:34:03 -07:00
2018-05-22 20:22:26 -07:00