diff options
author | Wink Saville <wink@google.com> | 2012-08-30 11:53:55 -0700 |
---|---|---|
committer | Wink Saville <wink@google.com> | 2012-08-30 11:53:55 -0700 |
commit | 94f261556cc5f4aa628cd5b71bf923b583f6e3c3 (patch) | |
tree | d03b949be503c02cbfd562fe492f0602cdaa96c4 /libs/gui | |
parent | b82af2a8aec99faf6fd37d202b98224cee461a12 (diff) | |
download | frameworks_native-94f261556cc5f4aa628cd5b71bf923b583f6e3c3.zip frameworks_native-94f261556cc5f4aa628cd5b71bf923b583f6e3c3.tar.gz frameworks_native-94f261556cc5f4aa628cd5b71bf923b583f6e3c3.tar.bz2 |
Revert "A vendor ril depends on a native screen shot code."
This reverts commit 9b5782baf0a8a2d7afc7129453beb5df7abe7650.
A new ril for toro, hack no longer needed.
Diffstat (limited to 'libs/gui')
-rw-r--r-- | libs/gui/SurfaceComposerClient.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
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; |