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

Commit 349abaf5 authored by Chia-I Wu's avatar Chia-I Wu Committed by Android (Google) Code Review
Browse files

Merge "surfaceflinger: fix initial crop computation" into oc-dr1-dev

parents 3eba4064 df7867f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -474,7 +474,7 @@ Rect Layer::computeInitialCrop(const sp<const DisplayDevice>& hw) const {

    Rect activeCrop(s.active.w, s.active.h);
    if (!s.crop.isEmpty()) {
        activeCrop = s.crop;
        activeCrop.intersect(s.crop, &activeCrop);
    }

    Transform t = getTransform();