summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/qs/QSTileView.java
diff options
context:
space:
mode:
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/qs/QSTileView.java')
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/QSTileView.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSTileView.java b/packages/SystemUI/src/com/android/systemui/qs/QSTileView.java
index 20fd5a0..9321614 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/QSTileView.java
+++ b/packages/SystemUI/src/com/android/systemui/qs/QSTileView.java
@@ -265,6 +265,10 @@ public class QSTileView extends ViewGroup {
} else if (state.iconId > 0) {
iv.setImageResource(state.iconId);
}
+ Drawable drawable = iv.getDrawable();
+ if (state.autoMirrorDrawable && drawable != null) {
+ drawable.setAutoMirrored(true);
+ }
}
if (mDual) {
mDualLabel.setText(state.label);