Merge "Fix RTL drawing for QS tiles in edit mode" into oc-dr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
845a4035ae
@@ -96,6 +96,7 @@ public class QSIconViewImpl extends QSIconView {
|
|||||||
int padding = state.icon != null ? state.icon.getPadding() : 0;
|
int padding = state.icon != null ? state.icon.getPadding() : 0;
|
||||||
if (d != null) {
|
if (d != null) {
|
||||||
d.setAutoMirrored(false);
|
d.setAutoMirrored(false);
|
||||||
|
d.setLayoutDirection(getLayoutDirection());
|
||||||
}
|
}
|
||||||
iv.setImageDrawable(d);
|
iv.setImageDrawable(d);
|
||||||
if (state.slash != null && iv instanceof SlashImageView) {
|
if (state.slash != null && iv instanceof SlashImageView) {
|
||||||
|
|||||||
Reference in New Issue
Block a user