Merge "Avoid automatically mirroring Drawable of CustomTile" am: 9a904d68c7
am: 9531933797
Change-Id: I73b8c40a628dde30e1ec647b24ae21956e33f9cc
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