Merge "Apply checkbox enable state on viewholder bind"

This commit is contained in:
TreeHugger Robot
2018-02-08 17:00:59 +00:00
committed by Android (Google) Code Review
2 changed files with 19 additions and 0 deletions

View File

@@ -83,6 +83,7 @@ public class MasterCheckBoxPreference extends TwoTargetPreference {
if (mCheckBox != null) {
mCheckBox.setContentDescription(getTitle());
mCheckBox.setChecked(mChecked);
mCheckBox.setEnabled(mEnableCheckBox);
}
}