summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2012-08-30 17:31:47 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-08-30 17:31:47 -0700
commitf196b56d70df6af753cb08bbb68e52498f0f37f1 (patch)
treeddddaf39cbb1efeb102596f717ea1ff96602042d
parentec34af4144c0f990513fe58b0754b20f94b36d6f (diff)
parent94f261556cc5f4aa628cd5b71bf923b583f6e3c3 (diff)
downloadframeworks_native-f196b56d70df6af753cb08bbb68e52498f0f37f1.zip
frameworks_native-f196b56d70df6af753cb08bbb68e52498f0f37f1.tar.gz
frameworks_native-f196b56d70df6af753cb08bbb68e52498f0f37f1.tar.bz2
Merge "Revert "A vendor ril depends on a native screen shot code."" into jb-mr1-dev
-rw-r--r--include/gui/SurfaceComposerClient.h5
-rw-r--r--libs/gui/SurfaceComposerClient.cpp8
2 files changed, 0 insertions, 13 deletions
diff --git a/include/gui/SurfaceComposerClient.h b/include/gui/SurfaceComposerClient.h
index 73214a4..a143d81 100644
--- a/include/gui/SurfaceComposerClient.h
+++ b/include/gui/SurfaceComposerClient.h
@@ -148,11 +148,6 @@ 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,
diff --git a/libs/gui/SurfaceComposerClient.cpp b/libs/gui/SurfaceComposerClient.cpp
index 0ffa932..e4922a4 100644
--- a/libs/gui/SurfaceComposerClient.cpp
+++ b/libs/gui/SurfaceComposerClient.cpp
@@ -558,14 +558,6 @@ ScreenshotClient::ScreenshotClient()
: mWidth(0), mHeight(0), mFormat(PIXEL_FORMAT_NONE) {
}
-// 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 ScreenshotClient::update() {
- sp<ISurfaceComposer> sm(ComposerService::getComposerService());
- return update(sm->getBuiltInDisplay(0));
-}
-
status_t ScreenshotClient::update(const sp<IBinder>& display) {
sp<ISurfaceComposer> s(ComposerService::getComposerService());
if (s == NULL) return NO_INIT;