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

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

Merge "Do not allocate a hardware layer for TileLayout."

parents 263bff47 7e6e64c2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -104,6 +104,11 @@ public class TileLayout extends ViewGroup implements QSTileLayout {
        setMeasuredDimension(width, height);
    }

    @Override
    public boolean hasOverlappingRendering() {
        return false;
    }

    private static int exactly(int size) {
        return MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY);
    }