am 8d576dd2: am 47cdb727: am 081a9162: Merge "Set switch to the correct enabling state" into lmp-dev

* commit '8d576dd26ff133079ea835bb531b88101449f3bc':
  Set switch to the correct enabling state
This commit is contained in:
Lifu Tang
2014-08-19 04:44:25 +00:00
committed by Android Git Automerger

View File

@@ -124,7 +124,7 @@ public class SwitchBar extends LinearLayout implements CompoundButton.OnCheckedC
public void setEnabled(boolean enabled) {
super.setEnabled(enabled);
mTextView.setEnabled(enabled);
mSwitch.setEnabled(false);
mSwitch.setEnabled(enabled);
}
public final ToggleSwitch getSwitch() {