commit | ae4fda79c9e71d166e879d184568060b051f7c2f | [log] [tgz] |
---|---|---|
author | Maurice Lam <yukl@google.com> | Tue May 17 19:21:58 2016 -0700 |
committer | Maurice Lam <yukl@google.com> | Tue May 17 19:21:58 2016 -0700 |
tree | 222ec206ef95fbd32976e3c42c28f970bce48956 | |
parent | fac603973be4ce77a2ac7ee848ee486b1c1f6940 [diff] |
[SuwLib] Update SwitchItem checked state Update SwitchItem checked state when the user clicks on the switch. Bug: 28317915 Change-Id: If3bba280fbab50225990fa96290b8458bd14975f
diff --git a/library/eclair-mr1/src/com/android/setupwizardlib/items/SwitchItem.java b/library/eclair-mr1/src/com/android/setupwizardlib/items/SwitchItem.java index aaeaf34..bbb2520 100644 --- a/library/eclair-mr1/src/com/android/setupwizardlib/items/SwitchItem.java +++ b/library/eclair-mr1/src/com/android/setupwizardlib/items/SwitchItem.java
@@ -93,6 +93,7 @@ @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { + mChecked = isChecked; if (mListener != null) { mListener.onCheckedChange(this, isChecked); }