Merge "Avoid automatically mirroring Drawable of CustomTile"
am: 9a904d68c7
Change-Id: I337620f4a2514a00a6b49275cadde6087e11dddf
This commit is contained in:
@@ -130,6 +130,7 @@ public class TileQueryHelper {
|
||||
state.label = label;
|
||||
state.contentDescription = label;
|
||||
state.icon = new DrawableIcon(drawable);
|
||||
state.autoMirrorDrawable = false;
|
||||
addTile(spec, appLabel, state, false);
|
||||
}
|
||||
|
||||
|
||||
@@ -221,7 +221,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
|
||||
|
||||
Reference in New Issue
Block a user