* commit '8bb154c272dbd11922d74e882a538ea9af6cd7db': Switch widget: Fix ON/OFF option update error
This commit is contained in:
committed by
Android Git Automerger
commit
6ba73cc662
@@ -664,7 +664,7 @@ public class Switch extends CompoundButton {
|
||||
@Override
|
||||
public void setChecked(boolean checked) {
|
||||
super.setChecked(checked);
|
||||
setThumbPosition(checked);
|
||||
setThumbPosition(isChecked());
|
||||
invalidate();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user