diff options
| author | 2018-08-29 09:25:59 -0700 | |
|---|---|---|
| committer | 2018-08-29 10:37:41 -0700 | |
| commit | 8730ba8101eab13c6c665f24299407a103824f55 (patch) | |
| tree | 4d69a4a39d5d7aebd222bdd860c7745609af6e84 /libs/input/KeyLayoutMap.cpp | |
| 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
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions