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

Commit 5148c19d authored by Chia-I Wu's avatar Chia-I Wu Committed by android-build-merger
Browse files

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

am: 349abaf5

Change-Id: Ied5b49f6089e2cd78ef53c9918d4e57c5231d504
parents 732ee9e1 349abaf5
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();