Merge "Resolve work switch drawable RTL issue" into ub-launcher3-rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8f40d00a5d
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user