commit | 22557d7a8bbd00b8d1d3c769d105433ea9494b11 | [log] [tgz] |
---|---|---|
author | Samuel Fufa <sfufa@google.com> | Sun Apr 12 17:23:51 2020 -0700 |
committer | Samuel Fufa <sfufa@google.com> | Sun Apr 12 17:23:51 2020 -0700 |
tree | 3e55d7f1a22215127a872b875c9e53e1ed0b6d15 | |
parent | 77cf9b780f0db6140351312272243379d8a0e070 [diff] |
Resolve work switch drawable RTL issue Bug: 153680914 Test: Manual Change-Id: I54f0240b8845c89f96bf61705fea0dff74c68668
diff --git a/src/com/android/launcher3/allapps/WorkModeSwitch.java b/src/com/android/launcher3/allapps/WorkModeSwitch.java index 05db18e..c1621b0 100644 --- a/src/com/android/launcher3/allapps/WorkModeSwitch.java +++ b/src/com/android/launcher3/allapps/WorkModeSwitch.java
@@ -73,7 +73,7 @@ private void setCheckedInternal(boolean checked) { super.setChecked(checked); - setCompoundDrawablesWithIntrinsicBounds( + setCompoundDrawablesRelativeWithIntrinsicBounds( checked ? R.drawable.ic_corp : R.drawable.ic_corp_off, 0, 0, 0); }