Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a904d68 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Avoid automatically mirroring Drawable of CustomTile"

parents c7ea99a6 eb09362c
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -131,6 +131,7 @@ public class TileQueryHelper {
        state.label = label;
        state.label = label;
        state.contentDescription = label;
        state.contentDescription = label;
        state.icon = new DrawableIcon(drawable);
        state.icon = new DrawableIcon(drawable);
        state.autoMirrorDrawable = false;
        addTile(spec, appLabel, state, false);
        addTile(spec, appLabel, state, false);
    }
    }


+3 −1
Original line number Original line Diff line number Diff line
@@ -214,7 +214,9 @@ public class CustomTile extends QSTile<QSTile.State> implements TileChangeListen


    @Override
    @Override
    public State newTileState() {
    public State newTileState() {
        return new State();
        State state = new State();
        state.autoMirrorDrawable = false;
        return state;
    }
    }


    @Override
    @Override