Merge "Avoid automatically mirroring Drawable of CustomTile"

This commit is contained in:
Treehugger Robot
2016-10-17 16:42:17 +00:00
committed by Gerrit Code Review
2 changed files with 4 additions and 1 deletions

View File

@@ -131,6 +131,7 @@ public class TileQueryHelper {
state.label = label;
state.contentDescription = label;
state.icon = new DrawableIcon(drawable);
state.autoMirrorDrawable = false;
addTile(spec, appLabel, state, false);
}

View File

@@ -214,7 +214,9 @@ public class CustomTile extends QSTile<QSTile.State> implements TileChangeListen
@Override
public State newTileState() {
return new State();
State state = new State();
state.autoMirrorDrawable = false;
return state;
}
@Override