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

Commit 6cfe8846 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "sysui: refactor for extension."

parents b9ee2cb7 b40004b4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -299,7 +299,7 @@ public class QSPanel extends LinearLayout implements Tunable, Callback {
        return new QSTileView(mContext, tile.createTileView(mContext), collapsedView);
    }

    protected void addTile(final QSTile<?> tile, boolean collapsedView) {
    protected TileRecord addTile(final QSTile<?> tile, boolean collapsedView) {
        final TileRecord r = new TileRecord();
        r.tile = tile;
        r.tileView = createTileView(tile, collapsedView);
@@ -358,6 +358,8 @@ public class QSPanel extends LinearLayout implements Tunable, Callback {
        if (mTileLayout != null) {
            mTileLayout.addTile(r);
        }

        return r;
    }