commit | a6ba19e00ce838e1b3caa261e49768b276cf10c8 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Fri Jul 21 15:34:58 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Fri Jul 21 15:34:58 2017 +0000 |
tree | f3d43522de84bc10ceb88a1b5ca01c9289037c91 | |
parent | 9af229146dff8ed9b78bba184a515b59ddb07836 [diff] | |
parent | 1e2c743cf32e78becef20f9b8c6dba19dd3d1bf2 [diff] |
Merge "surfaceflinger: fix initial crop computation" into oc-dr1-dev am: 349abaf55f am: 1e2c743cf3 Change-Id: I4c022b3a343b185c539471cf90b3dc476e7919ce
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index 8346e4b..b14fd7b 100755 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp
@@ -474,7 +474,7 @@ Rect activeCrop(s.active.w, s.active.h); if (!s.crop.isEmpty()) { - activeCrop = s.crop; + activeCrop.intersect(s.crop, &activeCrop); } Transform t = getTransform();