commit | 42a95a20ecdd683c89f5d322173df2d9eb34a72b | [log] [tgz] |
---|---|---|
author | Eric Jeong <ericjeong@google.com> | Wed Jun 02 00:21:32 2021 -0700 |
committer | Eric Jeong <ericjeong@google.com> | Thu Jun 03 15:24:24 2021 -0700 |
tree | b5b4ce04456d586410adf5214429925ba7c36083 | |
parent | faeff142050013c237ecf2aa3e1abe80e50a00db [diff] |
Apply power policy change to location and BT UI in Settings - ColoredSwitchPreference in Location and Bluetooth is replaced by ClickableWhileDisabledSwitchPreference - PowerPolicyListener is introduced to handle policy change at Wifi, location, and bluetooth. Bug: 185641181 Test: atest WifiStateSwitchPreferenceControllerTest LocationStateSwitchPreferenceControllerTest BluetoothStateSwitchPreferenceControllerTest Change-Id: I5e2e014b444bb1b09ebda4b335bc7025810d0e9f