commit | c356f6659cf632a2ab8ab2e506e091b485d50a6f | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Wed Aug 29 09:25:59 2018 -0700 |
committer | Yiwei Zhang <zzyiwei@google.com> | Thu Mar 21 04:37:49 2019 +0000 |
tree | 30a2c06075975b032ef0f06b47bc729c189189ab | |
parent | 75dcd905652b490a31537f81a1209100df050d42 [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