diff options
author | Dan Stoza <stoza@google.com> | 2014-02-20 00:56:33 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-02-20 00:56:33 +0000 |
commit | b88a904dfe719a8cbb0b9d73cb4637c22a1deed4 (patch) | |
tree | 9c6bd561736fcb428513ac4cba7d0347eefbfdd1 /cmds | |
parent | 498aa8bb3c51b7c5ba66cb38167263157d13bcc1 (diff) | |
parent | 16ec12ae77fdd2b09ea0ea0885ac52f11bd32c59 (diff) | |
download | frameworks_base-b88a904dfe719a8cbb0b9d73cb4637c22a1deed4.zip frameworks_base-b88a904dfe719a8cbb0b9d73cb4637c22a1deed4.tar.gz frameworks_base-b88a904dfe719a8cbb0b9d73cb4637c22a1deed4.tar.bz2 |
Merge "Allow disabling layer rotation during screenshots"
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/screencap/screencap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/screencap/screencap.cpp b/cmds/screencap/screencap.cpp index a57de01..2efe4d3 100644 --- a/cmds/screencap/screencap.cpp +++ b/cmds/screencap/screencap.cpp @@ -141,7 +141,7 @@ int main(int argc, char** argv) ScreenshotClient screenshot; sp<IBinder> display = SurfaceComposerClient::getBuiltInDisplay(displayId); - if (display != NULL && screenshot.update(display) == NO_ERROR) { + if (display != NULL && screenshot.update(display, false) == NO_ERROR) { base = screenshot.getPixels(); w = screenshot.getWidth(); h = screenshot.getHeight(); |