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

Commit ef7c962d authored by Rubin Xu's avatar Rubin Xu Committed by android-build-merger
Browse files

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

am: 5db2f16f

* commit '5db2f16f':
  Initialize mTiles before constructing AutoTileManager
parents 78eced72 5db2f16f
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) {