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

Commit a6ba19e0 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

am: 1e2c743c

Change-Id: I4c022b3a343b185c539471cf90b3dc476e7919ce
parents 9af22914 1e2c743c
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();