summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Chia-I Wu <olv@google.com> 2018-08-29 09:25:59 -0700
committer Yiwei Zhang <zzyiwei@google.com> 2019-03-21 04:37:49 +0000
commitc356f6659cf632a2ab8ab2e506e091b485d50a6f (patch)
tree30a2c06075975b032ef0f06b47bc729c189189ab /libs/gui/ConsumerBase.cpp
parent75dcd905652b490a31537f81a1209100df050d42 (diff)
surfaceflinger: fix captureScreen for landscape LCM
Make DisplayRenderArea::getSourceCrop return the display scissor when the source crop is empty. Force the source crop to be empty in captureScreen. This makes sure the install orientation is applied on the source crop once, not twice. Bug: 113041375 Test: force primaryDisplayOrientation, rotate screen, and switch apps Change-Id: I15006f867ff2d4a92ebccb1334ce59ab32abe69a Merged-In: I15006f867ff2d4a92ebccb1334ce59ab32abe69a
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions