diff options
| author | 2018-08-28 12:57:23 -0700 | |
|---|---|---|
| committer | 2019-03-21 04:35:17 +0000 | |
| commit | 6df5400efeb34bea66f5c7a2bd2626dd2b00e835 (patch) | |
| tree | 6719ef630e5f6127bdc6efe5e2405ba9b083bf91 /libs/gui/ConsumerBase.cpp | |
| parent | 89e1ec278c751fe7e2544b1ad8fae7cb9da3b9fd (diff) | |
surfaceflinger: clean up captureScreen
dispScissor is never empty. Remove the check and update the
comments so that the intention is clear.
It also becomes obvious that reqWidth/reqHeight is never zero when
we reach "// get screen geometry". All code following the comment
is actually dead, which means we probably broke it since commit
06a58e22.
Bug: 113041375
Test: take screenshot, rotate screen, screencap
Change-Id: Ida1430383ce62271365d9ef64ad9b055638e1eac
Merged-In: Ida1430383ce62271365d9ef64ad9b055638e1eac
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions