Merge "Merge sub pages for lock/unlock into 1 xml."

This commit is contained in:
TreeHugger Robot
2018-01-05 00:36:17 +00:00
committed by Android (Google) Code Review
21 changed files with 1050 additions and 601 deletions

View File

@@ -98,10 +98,11 @@ public class BluetoothSwitchPreferenceController extends TogglePreferenceControl
}
@Override
public void setChecked(boolean isChecked) {
public boolean setChecked(boolean isChecked) {
if (mBluetoothAdapter != null) {
mBluetoothAdapter.setBluetoothEnabled(isChecked);
}
return true;
}
/**