commit | fee4807dc0b8f6a8ce34b8c0f786a7711501fc14 | [log] [tgz] |
---|---|---|
author | CY Cheng <cycheng@google.com> | Mon Mar 26 18:38:59 2018 +0800 |
committer | CY Cheng <cycheng@google.com> | Thu Apr 12 14:10:35 2018 +0800 |
tree | 88fcc1c83a0642f54deb5194a25212be78a0b9c8 | |
parent | 17a463130edcf25598746f11b768d1c3a5b52318 [diff] |
Refactor airplane mode preference controller. - Convert inheritance from AbstractPreferenceController to TogglePreferenceController. - Register AirplaneModePreferenceController in XML. - Decouple AirplaneModeEnabler with preference, leave the UI be controled by PreferenceController. - Add RoboTests test cases for AirplaneModePreferenceController. Fixes: 67997339 Test: RunSettingsRoboTests Change-Id: I7398943ed51345e014ee7aa774bfae1ca28632f1