summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Chia-I Wu <olv@google.com> 2018-08-28 12:57:23 -0700
committer Yiwei Zhang <zzyiwei@google.com> 2019-03-21 04:35:17 +0000
commit6df5400efeb34bea66f5c7a2bd2626dd2b00e835 (patch)
tree6719ef630e5f6127bdc6efe5e2405ba9b083bf91 /libs/gui/ConsumerBase.cpp
parent89e1ec278c751fe7e2544b1ad8fae7cb9da3b9fd (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