Resolve work switch drawable RTL issue

Bug: 153680914
Test: Manual
Change-Id: I54f0240b8845c89f96bf61705fea0dff74c68668
This commit is contained in:
Samuel Fufa
2020-04-12 17:23:51 -07:00
parent 77cf9b780f
commit 22557d7a8b

View File

@@ -73,7 +73,7 @@ public class WorkModeSwitch extends Switch implements Insettable {
private void setCheckedInternal(boolean checked) {
super.setChecked(checked);
setCompoundDrawablesWithIntrinsicBounds(
setCompoundDrawablesRelativeWithIntrinsicBounds(
checked ? R.drawable.ic_corp : R.drawable.ic_corp_off, 0, 0, 0);
}