summaryrefslogtreecommitdiffstats
path: root/libs/gui/include
diff options
context:
space:
mode:
authorYiwei Zhang <zzyiwei@google.com>2019-03-21 00:03:14 -0700
committerYiwei Zhang <zzyiwei@google.com>2019-03-21 07:05:59 +0000
commit11a7dbed6ca41df77b19bb74206b1ba41c587b0f (patch)
tree63f7bb50427d309f82bede703e464794ac1c9679 /libs/gui/include
parentbd8795436dac4d37ff2dea6ae05b126e068c0fa0 (diff)
downloadandroid_frameworks_native-11a7dbed6ca41df77b19bb74206b1ba41c587b0f.tar.gz
android_frameworks_native-11a7dbed6ca41df77b19bb74206b1ba41c587b0f.tar.bz2
android_frameworks_native-11a7dbed6ca41df77b19bb74206b1ba41c587b0f.zip
libgui: update description of sourceCrop for captureScreen
Bug: 117892959 Test: builds Change-Id: I757385465c537e51ddfc2fd830e1e2a35eab5883
Diffstat (limited to 'libs/gui/include')
-rw-r--r--libs/gui/include/gui/ISurfaceComposer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/gui/include/gui/ISurfaceComposer.h b/libs/gui/include/gui/ISurfaceComposer.h
index 3dffa8f8b..8f54fee22 100644
--- a/libs/gui/include/gui/ISurfaceComposer.h
+++ b/libs/gui/include/gui/ISurfaceComposer.h
@@ -194,8 +194,7 @@ public:
* of the buffer. The caller should pick the data space and pixel format
* that it can consume.
*
- * At the moment, sourceCrop is ignored and is always set to the visible
- * region (projected display viewport) of the screen.
+ * sourceCrop is the crop on the logical display.
*
* reqWidth and reqHeight specifies the size of the buffer. When either
* of them is 0, they are set to the size of the logical display viewport.