commit | cb02315a81f74d6f0468c90cd87c36190e3bfbc8 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Tue Aug 28 12:57:23 2018 -0700 |
committer | Chia-I Wu <olv@google.com> | Tue Aug 28 14:58:20 2018 -0700 |
tree | 3bec0aa43561b4ce7a7c4cf0c7442a0568a63592 | |
parent | 5e3afa61b1f5a4f12bfc449f22acc8443d4b85a6 [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