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

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

Merge "Fix size of last page of QSPanel"

parents 39545f9a 6b7fc0a0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -114,7 +114,8 @@ public class PagedTileLayout extends ViewPager implements QSTileLayout {

    @Override
    public int getTilesHeight() {
        TileLayout tileLayout = mPages.get(getCurrentItem());
        // Use the first page as that is the maximum height we need to show.
        TileLayout tileLayout = mPages.get(0);
        if (tileLayout == null) {
            return 0;
        }