| commit | 8730ba8101eab13c6c665f24299407a103824f55 | [log] [tgz] |
|---|---|---|
| author | Chia-I Wu <olv@google.com> | Wed Aug 29 09:25:59 2018 -0700 |
| committer | Chia-I Wu <olv@google.com> | Wed Aug 29 10:37:41 2018 -0700 |
| tree | 4d69a4a39d5d7aebd222bdd860c7745609af6e84 | |
| parent | 955825648c6313ac61247843d45f1e808c4d6096 [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