summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRobert Burns <burnsra@gmail.com>2012-11-23 11:54:40 -0500
committerRobert Burns <burnsra@gmail.com>2012-11-23 11:54:40 -0500
commitf2108ee9f769c7c43aa42d7ba6e7989d891e3eb5 (patch)
tree68ca7fcb7618ea7e1f5ea1c57d09bba4519470a9 /include
parent11b423f953b0fae673231cc4b30caa992d4f7b8b (diff)
downloadframeworks_native-f2108ee9f769c7c43aa42d7ba6e7989d891e3eb5.zip
frameworks_native-f2108ee9f769c7c43aa42d7ba6e7989d891e3eb5.tar.gz
frameworks_native-f2108ee9f769c7c43aa42d7ba6e7989d891e3eb5.tar.bz2
Revert "Revert "A vendor ril depends on a native screen shot code.""
This reverts commit 94f261556cc5f4aa628cd5b71bf923b583f6e3c3. Fixes RIL on toroplus
Diffstat (limited to 'include')
-rw-r--r--include/gui/SurfaceComposerClient.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/gui/SurfaceComposerClient.h b/include/gui/SurfaceComposerClient.h
index ae5d69a..a8bab55 100644
--- a/include/gui/SurfaceComposerClient.h
+++ b/include/gui/SurfaceComposerClient.h
@@ -162,6 +162,11 @@ class ScreenshotClient
public:
ScreenshotClient();
+ // TODO: Remove me. Do not use.
+ // This is a compatibility shim for one product whose drivers are depending on
+ // this legacy function (when they shouldn't).
+ status_t update();
+
// frees the previous screenshot and capture a new one
status_t update(const sp<IBinder>& display);
status_t update(const sp<IBinder>& display,