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

Commit 5db2f16f authored by Rubin Xu's avatar Rubin Xu Committed by Android (Google) Code Review
Browse files

Merge "Initialize mTiles before constructing AutoTileManager" into nyc-dev

parents ce3f3380 cedcd281
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -147,8 +147,9 @@ public final class QSTileHost implements QSTile.Host, Tunable {

        mServices = new TileServices(this, mLooper);

        mAutoTiles = new AutoTileManager(context, this);
        TunerService.get(mContext).addTunable(this, TILES_SETTING);
        // AutoTileManager can modify mTiles so make sure mTiles has already been initialized.
        mAutoTiles = new AutoTileManager(context, this);
    }

    public void setHeaderView(View view) {